summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head_64.S
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-03-11 02:23:21 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:29 +0200
commit41bd4eac748f39d7f3ed770fae3e595a747172bd (patch)
treeed048f50c93f3497dd52c0096a17d5a118547882 /arch/x86/kernel/head_64.S
parentx86: replace early exception setup macro recursion with loop (diff)
downloadlinux-41bd4eac748f39d7f3ed770fae3e595a747172bd.tar.xz
linux-41bd4eac748f39d7f3ed770fae3e595a747172bd.zip
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/x86/kernel/head_64.S')
-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)
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