diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-01-21 01:47:39 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-01-21 01:47:57 -0500 |
commit | 373d4d099761cb1f637bed488ab3871945882273 (patch) | |
tree | 954bef7bc724aee105dd246d5f2b1ea04ed38b20 /kernel/sched/core.c | |
parent | 64748a2c9062da0c32b59c1b368a86fc4613b1e1 (diff) |
taint: add explicit flag to show whether lock dep is still OK.
Fix up all callers as they were before, with make one change: an
unsigned module taints the kernel, but doesn't turn off lockdep.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 257002c13bb0..662f3d512183 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -2785,7 +2785,7 @@ static noinline void __schedule_bug(struct task_struct *prev) | |||
2785 | if (irqs_disabled()) | 2785 | if (irqs_disabled()) |
2786 | print_irqtrace_events(prev); | 2786 | print_irqtrace_events(prev); |
2787 | dump_stack(); | 2787 | dump_stack(); |
2788 | add_taint(TAINT_WARN); | 2788 | add_taint(TAINT_WARN, LOCKDEP_STILL_OK); |
2789 | } | 2789 | } |
2790 | 2790 | ||
2791 | /* | 2791 | /* |