|
@@ -1056,7 +1056,11 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|
#endif
|
|
#endif
|
|
#ifdef CONFIG_TRACE_IRQFLAGS
|
|
#ifdef CONFIG_TRACE_IRQFLAGS
|
|
p->irq_events = 0;
|
|
p->irq_events = 0;
|
|
|
|
+#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
|
|
|
|
+ p->hardirqs_enabled = 1;
|
|
|
|
+#else
|
|
p->hardirqs_enabled = 0;
|
|
p->hardirqs_enabled = 0;
|
|
|
|
+#endif
|
|
p->hardirq_enable_ip = 0;
|
|
p->hardirq_enable_ip = 0;
|
|
p->hardirq_enable_event = 0;
|
|
p->hardirq_enable_event = 0;
|
|
p->hardirq_disable_ip = _THIS_IP_;
|
|
p->hardirq_disable_ip = _THIS_IP_;
|