x86: remove set_kernel_exec()
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:33:53 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:53 +0000 (13:33 +0100)
commit934d15854d04e8ca2495d8f5698164df990d5d66
treeda1e14ba6c88b3862fbd2f8e6a62e6e91622452d
parent1e8e23bc469a11fc190a6bace857075d83dc2555
x86: remove set_kernel_exec()

The SMP trampoline always runs in real mode, so making it executable
in the page tables doesn't make much sense because it executes
before page tables are set up. That was the only user of
set_kernel_exec(). Remove set_kernel_exec().

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/kernel/smpboot_32.c
arch/x86/mm/init_32.c
include/asm-x86/pgtable_32.h