HID: usbhid: add quirk HID_QUIRK_NOGET to TPV optical touchscreen
[firefly-linux-kernel-4.4.55.git] / kernel / fork.c
index 2343c9eaaaf4e2e69def5b04b52bd7471305acbd..5a0e74d89a5aa2e459e42679d6105fda07b7e8bd 100644 (file)
@@ -1276,11 +1276,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
 #endif
 #ifdef CONFIG_TRACE_IRQFLAGS
        p->irq_events = 0;
-#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
-       p->hardirqs_enabled = 1;
-#else
        p->hardirqs_enabled = 0;
-#endif
        p->hardirq_enable_ip = 0;
        p->hardirq_enable_event = 0;
        p->hardirq_disable_ip = _THIS_IP_;