]> err.no Git - linux-2.6/commit
c_p_a(): do a simple self test at boot
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:33:42 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:42 +0000 (13:33 +0100)
commit0c42f392767d3592e1cf676857d398ef69be7c9c
tree0ae79fb0424ed9340ad973bea013251e05553be4
parentb4416a1be86b0c7bdde4e6ba526715c1a055746f
c_p_a(): do a simple self test at boot

When CONFIG_DEBUG_RODATA is enabled undo the ro mapping and redo it again.
This gives some simple testing for change_page_attr().

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/Kconfig.debug
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c