]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12234045ac9905b4b318a35f55846394ba4894ec
tree71c7b82f94e23ead15f49e4081937bd8d748cef5
parenta460cc6b67cc34b6ae9b98d7082114f6e44283b6
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