diff options
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
| -rw-r--r-- | arch/x86/kernel/entry_64.S | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index aed1ffbeb0c..b72b4a6466a 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
| @@ -61,6 +61,8 @@ | |||
| 61 | #define __AUDIT_ARCH_LE 0x40000000 | 61 | #define __AUDIT_ARCH_LE 0x40000000 |
| 62 | 62 | ||
| 63 | .code64 | 63 | .code64 |
| 64 | .section .entry.text, "ax" | ||
| 65 | |||
| 64 | #ifdef CONFIG_FUNCTION_TRACER | 66 | #ifdef CONFIG_FUNCTION_TRACER |
| 65 | #ifdef CONFIG_DYNAMIC_FTRACE | 67 | #ifdef CONFIG_DYNAMIC_FTRACE |
| 66 | ENTRY(mcount) | 68 | ENTRY(mcount) |
| @@ -744,7 +746,7 @@ END(stub_rt_sigreturn) | |||
| 744 | */ | 746 | */ |
| 745 | .section .init.rodata,"a" | 747 | .section .init.rodata,"a" |
| 746 | ENTRY(interrupt) | 748 | ENTRY(interrupt) |
| 747 | .text | 749 | .section .entry.text |
| 748 | .p2align 5 | 750 | .p2align 5 |
| 749 | .p2align CONFIG_X86_L1_CACHE_SHIFT | 751 | .p2align CONFIG_X86_L1_CACHE_SHIFT |
| 750 | ENTRY(irq_entries_start) | 752 | ENTRY(irq_entries_start) |
| @@ -763,7 +765,7 @@ vector=FIRST_EXTERNAL_VECTOR | |||
| 763 | .endif | 765 | .endif |
| 764 | .previous | 766 | .previous |
| 765 | .quad 1b | 767 | .quad 1b |
| 766 | .text | 768 | .section .entry.text |
| 767 | vector=vector+1 | 769 | vector=vector+1 |
| 768 | .endif | 770 | .endif |
| 769 | .endr | 771 | .endr |
| @@ -975,9 +977,12 @@ apicinterrupt X86_PLATFORM_IPI_VECTOR \ | |||
| 975 | x86_platform_ipi smp_x86_platform_ipi | 977 | x86_platform_ipi smp_x86_platform_ipi |
| 976 | 978 | ||
| 977 | #ifdef CONFIG_SMP | 979 | #ifdef CONFIG_SMP |
| 978 | .irpc idx, "01234567" | 980 | .irp idx,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, \ |
| 981 | 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 | ||
| 982 | .if NUM_INVALIDATE_TLB_VECTORS > \idx | ||
| 979 | apicinterrupt (INVALIDATE_TLB_VECTOR_START)+\idx \ | 983 | apicinterrupt (INVALIDATE_TLB_VECTOR_START)+\idx \ |
| 980 | invalidate_interrupt\idx smp_invalidate_interrupt | 984 | invalidate_interrupt\idx smp_invalidate_interrupt |
| 985 | .endif | ||
| 981 | .endr | 986 | .endr |
| 982 | #endif | 987 | #endif |
| 983 | 988 | ||
| @@ -1248,7 +1253,7 @@ ENTRY(xen_do_hypervisor_callback) # do_hypervisor_callback(struct *pt_regs) | |||
| 1248 | decl PER_CPU_VAR(irq_count) | 1253 | decl PER_CPU_VAR(irq_count) |
| 1249 | jmp error_exit | 1254 | jmp error_exit |
| 1250 | CFI_ENDPROC | 1255 | CFI_ENDPROC |
| 1251 | END(do_hypervisor_callback) | 1256 | END(xen_do_hypervisor_callback) |
| 1252 | 1257 | ||
| 1253 | /* | 1258 | /* |
| 1254 | * Hypervisor uses this for application faults while it executes. | 1259 | * Hypervisor uses this for application faults while it executes. |
