summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-05-15 01:22:58 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-16 16:53:35 +0200
commit493d35863dbb692c38c1415fd83d88dfb902ae37 (patch)
treedeaae5462c4a7319b3ff157e9594988ec5d3ceb1 /drivers/firmware
parentMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/... (diff)
downloadlinux-493d35863dbb692c38c1415fd83d88dfb902ae37.tar.xz
linux-493d35863dbb692c38c1415fd83d88dfb902ae37.zip
mutex-debug: check mutex magic before owner
Currently, the mutex debug code checks the lock->owner before lock->magic, so a corrupt mutex will most likely result in failing the owner check, rather than the magic check. This change to debug_mutex_unlock does the magic check first, so we have a better idea of what breaks. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions