summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kprobes_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/kprobes_64.h')
-rw-r--r--include/asm-x86/kprobes_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/kprobes_64.h b/include/asm-x86/kprobes_64.h
index 743d76218fc..8c919d35cdd 100644
--- a/include/asm-x86/kprobes_64.h
+++ b/include/asm-x86/kprobes_64.h
@@ -77,7 +77,7 @@ struct kprobe_ctlblk {
*/
static inline void restore_interrupts(struct pt_regs *regs)
{
- if (regs->eflags & IF_MASK)
+ if (regs->flags & IF_MASK)
local_irq_enable();
}