]> git.baikalelectronics.ru Git - kernel.git/commit
x86_32: always run the full set of paging state.
authorIan Campbell <ijc@hellion.org.uk>
Wed, 30 Jan 2008 12:33:27 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:27 +0000 (13:33 +0100)
commit2e276388048978d207c4c42fef27300e117380b8
tree6adc2bdbb89e4bcb4db98cb3cf6d8b9f04c99e38
parent7a121cd6622f785854ebcf83bb812e6647f8addb
x86_32: always run the full set of paging state.

I am preparing to convert the boot time page table to the kernels
native format.  To achieve that I need to enable PAE. Enabling PSE
and the no execute bit would not hurt.  So this patch modifies
the boot cpu path to execute all of the kernels enable code
if and only if we have the proper bits set in mmu_cr4_features.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Mika Penttilä <mika.penttila@kolumbus.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/head_32.S