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 /arch/arm/kernel/traps.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 'arch/arm/kernel/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index b0179b89a04c..1c089119b2d7 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -296,7 +296,7 @@ static void oops_end(unsigned long flags, struct pt_regs *regs, int signr) | |||
296 | 296 | ||
297 | bust_spinlocks(0); | 297 | bust_spinlocks(0); |
298 | die_owner = -1; | 298 | die_owner = -1; |
299 | add_taint(TAINT_DIE); | 299 | add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE); |
300 | die_nest_count--; | 300 | die_nest_count--; |
301 | if (!die_nest_count) | 301 | if (!die_nest_count) |
302 | /* Nest count reaches zero, release the lock. */ | 302 | /* Nest count reaches zero, release the lock. */ |