x86/PCI: don't call e820_all_mapped with -1 in the mmconfig case
commit3b442bfc78d351343fa539c63afde75d7b134316
authorYinghai Lu <yinghai@kernel.org>
Sat, 18 Apr 2009 08:43:46 +0000 (18 01:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:03 +0000 (8 15:45 -0700)
tree14c6e6f1485ad1f1993de52ce40b7de2df824acd
parent40434618e61a539f1acb24c8adb166470a361f3d
x86/PCI: don't call e820_all_mapped with -1 in the mmconfig case

commit 044cd80942e47b9de0915b627902adf05c52377f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/pci/mmconfig-shared.c