x86/PCI: don't call e820_all_mapped with -1 in the mmconfig case
authorYinghai Lu <yinghai@kernel.org>
Sat, 18 Apr 2009 08:43:46 +0000 (01:43 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Apr 2009 20:56:26 +0000 (13:56 -0700)
commit044cd80942e47b9de0915b627902adf05c52377f
treefbb170a9ca790c965cfac866bb3f38900b87e836
parent162dedd39dcc6eca3fc0d29cf19658c6c13b840e
x86/PCI: don't call e820_all_mapped with -1 in the mmconfig case

e820_all_mapped need end is (addr + size) instead of (addr + size - 1)

Cc: stable@kernel.org
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/mmconfig-shared.c