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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 21:54:35 +0000 (14:54 -0700)
commitd93890025874ac5c6a31891cb424b987b2a1d90f
tree5be1f43b2d7f810c2171d2930638748e077cc619
parent0ca8bad08b221f1ddc73ee15f458725988b37057
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