x86, 32-bit: also use cpuinfo_x86's x86_{phys,virt}_bits members
authorJan Beulich <jbeulich@novell.com>
Thu, 12 Mar 2009 12:37:34 +0000 (12:37 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 01:37:17 +0000 (02:37 +0100)
commit13c6c53282d99c82e79b02477efd2c1e30a991ef
tree71c7b82f94e23ead15f49e4081937bd8d748cef5
parent46d50c98d90cd7feaa5977a09c574063e5c99b3d
x86, 32-bit: also use cpuinfo_x86's x86_{phys,virt}_bits members

Impact: 32/64-bit consolidation

In a first step, this allows fixing phys_addr_valid() for PAE (which
until now reported all addresses to be valid). Subsequently, this will
also allow simplifying some MTRR handling code.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <49B9101E.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c
arch/x86/mm/ioremap.c