From: Andi Kleen Date: Tue, 11 Mar 2008 01:23:21 +0000 (+0100) Subject: x86: move early exception handlers into init.text X-Git-Tag: v2.6.26-rc1~1154^2~118 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=41bd4eac748f39d7f3ed770fae3e595a747172bd;p=~emulex%2Finfiniband.git x86: move early exception handlers into init.text Currently they are in .text.head because the rest of head_64.S. .text.head is not removed as init data, but the early exception handlers should be because they are not needed after early boot of the BP. So move them over. Signed-off-by: Andi Kleen Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 5e039122950..c1d7a877d81 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -267,6 +267,7 @@ ENTRY(secondary_startup_64) bad_address: jmp bad_address + .section ".init.text","ax" #ifdef CONFIG_EARLY_PRINTK .globl early_idt_handlers early_idt_handlers: @@ -321,6 +322,7 @@ early_idt_msg: early_idt_ripmsg: .asciz "RIP %s\n" #endif /* CONFIG_EARLY_PRINTK */ + .previous .balign PAGE_SIZE