summaryrefslogtreecommitdiff
path: root/i386/i386/idt_inittab.S
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/idt_inittab.S')
-rw-r--r--i386/i386/idt_inittab.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/idt_inittab.S b/i386/i386/idt_inittab.S
index 8e92d805..6794400e 100644
--- a/i386/i386/idt_inittab.S
+++ b/i386/i386/idt_inittab.S
@@ -34,7 +34,7 @@
Here's the header that comes before everything else. */
.data 2
ENTRY(idt_inittab)
- .text
+ .section .text.shared
/*
* Interrupt descriptor table and code vectors for it.
@@ -46,14 +46,14 @@ ENTRY(idt_inittab)
.byte (((type)&ACC_PL)>>5)|((((type)&(ACC_TYPE|ACC_A))==ACC_INTR_GATE)<<2) ;\
.word KERNEL_CS ;\
.long entry ;\
- .text
+ .section .text.shared
#else /* MACH_PV_DESCRIPTORS */
#define IDT_ENTRY(n,entry,type) \
.data 2 ;\
.long entry ;\
.word n ;\
.word type ;\
- .text
+ .section .text.shared
#endif /* MACH_PV_DESCRIPTORS */
/*