diff options
| -rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 19908b26cf80..cdb1f82d3bd2 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -909,7 +909,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
| 909 | 909 | ||
| 910 | rt_mutex_init_task(p); | 910 | rt_mutex_init_task(p); |
| 911 | 911 | ||
| 912 | #ifdef CONFIG_TRACE_IRQFLAGS | 912 | #ifdef CONFIG_PROVE_LOCKING |
| 913 | DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); | 913 | DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); |
| 914 | DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); | 914 | DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); |
| 915 | #endif | 915 | #endif |
