aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irqflags.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irqflags.S')
-rw-r--r--arch/x86/kernel/irqflags.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqflags.S b/arch/x86/kernel/irqflags.S
index 8ef35063964b..760e1f293093 100644
--- a/arch/x86/kernel/irqflags.S
+++ b/arch/x86/kernel/irqflags.S
@@ -7,9 +7,11 @@
/*
* unsigned long native_save_fl(void)
*/
+.pushsection .noinstr.text, "ax"
SYM_FUNC_START(native_save_fl)
pushf
pop %_ASM_AX
ret
SYM_FUNC_END(native_save_fl)
+.popsection
EXPORT_SYMBOL(native_save_fl)