diff options
author | 2009-03-04 16:16:51 -0800 | |
---|---|---|
committer | 2009-03-05 14:53:43 +0100 | |
commit | ed26dbe5ae045e5bf95c6dc27497397a3fde52e1 (patch) | |
tree | 1270f72fe0aec31b34391deaf9a58d9f3cfe310e /arch/x86/mm/fault.c | |
parent | x86-32: use specific __vmalloc_start_set flag in __virt_addr_valid (diff) | |
download | linux-dev-ed26dbe5ae045e5bf95c6dc27497397a3fde52e1.tar.xz linux-dev-ed26dbe5ae045e5bf95c6dc27497397a3fde52e1.zip |
x86: pre-initialize boot_cpu_data.x86_phys_bits to avoid system_state tests
Impact: cleanup, micro-optimization
Pre-initialize boot_cpu_data.x86_phys_bits to a reasonable default
to remove the use of system_state tests in __virt_addr_valid()
and __phys_addr().
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions