aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/kprobes_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/kprobes_32.h')
-rw-r--r--include/asm-x86/kprobes_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/kprobes_32.h b/include/asm-x86/kprobes_32.h
index 9fe8f3bddfd..2f38315bc39 100644
--- a/include/asm-x86/kprobes_32.h
+++ b/include/asm-x86/kprobes_32.h
@@ -84,7 +84,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();
}