summaryrefslogtreecommitdiff
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.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqflags.S b/arch/x86/kernel/irqflags.S
index 7f542a7799cb..fdabd5dda154 100644
--- a/arch/x86/kernel/irqflags.S
+++ b/arch/x86/kernel/irqflags.S
@@ -9,6 +9,7 @@
*/
.pushsection .noinstr.text, "ax"
SYM_FUNC_START(native_save_fl)
+ ENDBR
pushf
pop %_ASM_AX
RET