x86: max_low_pfn_mapped fix, #2
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 12 Jul 2008 21:31:28 +0000 (14:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 13 Jul 2008 06:19:16 +0000 (08:19 +0200)
commit965194c15dc9e4f3bc44432b39c441c86af7f11d
tree0afa32ccb270ff2f506299744c184a4c9ab83c7a
parent7ab073b6e0cde1544f4e79fadb75532528af7595
x86: max_low_pfn_mapped fix, #2

tighten the boundary checks around max_low_pfn_mapped - dont overmap
nor undermap into holes.

also print out tseg for AMD cpus, for diagnostic purposes.
(this is an SMM area, and we split up any big mappings around that area)

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd_64.c
arch/x86/mm/pageattr.c
arch/x86/mm/pat.c
arch/x86/pci/i386.c