File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -739,13 +739,9 @@ SYM_FUNC_START(asm_load_gs_index)
739
739
swapgs
740
740
FRAME_END
741
741
RET
742
- SYM_FUNC_END(asm_load_gs_index)
743
- EXPORT_SYMBOL(asm_load_gs_index)
744
742
745
- _ASM_EXTABLE(.Lgs_change, .Lbad_gs)
746
- .section .fixup, "ax"
747
743
/* running with kernelgs */
748
- SYM_CODE_START_LOCAL_NOALIGN( .Lbad_gs)
744
+ .Lbad_gs:
749
745
swapgs /* switch back to user gs */
750
746
.macro ZAP_GS
751
747
/* This can't be a string because the preprocessor needs to see it. */
@@ -756,8 +752,11 @@ SYM_CODE_START_LOCAL_NOALIGN(.Lbad_gs)
756
752
xorl %eax , %eax
757
753
movl %eax , %gs
758
754
jmp 2b
759
- SYM_CODE_END(.Lbad_gs)
760
- .previous
755
+
756
+ _ASM_EXTABLE(.Lgs_change, .Lbad_gs)
757
+
758
+ SYM_FUNC_END(asm_load_gs_index)
759
+ EXPORT_SYMBOL(asm_load_gs_index)
761
760
762
761
#ifdef CONFIG_XEN_PV
763
762
/*
You can’t perform that action at this time.
0 commit comments