aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-03-10 21:23:21 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:29 -0400
commit41bd4eac748f39d7f3ed770fae3e595a747172bd (patch)
treeed048f50c93f3497dd52c0096a17d5a118547882 /arch
parent749c970ae9fa43b4fcf17ac53022a953007d58f4 (diff)
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 <ak@suse.de> Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/head_64.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index 5e0391229502..c1d7a877d814 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -267,6 +267,7 @@ ENTRY(secondary_startup_64)
267bad_address: 267bad_address:
268 jmp bad_address 268 jmp bad_address
269 269
270 .section ".init.text","ax"
270#ifdef CONFIG_EARLY_PRINTK 271#ifdef CONFIG_EARLY_PRINTK
271 .globl early_idt_handlers 272 .globl early_idt_handlers
272early_idt_handlers: 273early_idt_handlers:
@@ -321,6 +322,7 @@ early_idt_msg:
321early_idt_ripmsg: 322early_idt_ripmsg:
322 .asciz "RIP %s\n" 323 .asciz "RIP %s\n"
323#endif /* CONFIG_EARLY_PRINTK */ 324#endif /* CONFIG_EARLY_PRINTK */
325 .previous
324 326
325.balign PAGE_SIZE 327.balign PAGE_SIZE
326 328