summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 00:25:06 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-03 15:27:06 -0700
commit243c7621aac4ed1aa79524c9a1cecf7c05a28124 (patch)
treed8f7a1fce57c9349183bfd9ab6738a763078db85 /init
parent8b8f319fc7f4ab59f567d6a401a62659b3d37007 (diff)
downloadlinux-stable-243c7621aac4ed1aa79524c9a1cecf7c05a28124.tar.gz
linux-stable-243c7621aac4ed1aa79524c9a1cecf7c05a28124.tar.bz2
linux-stable-243c7621aac4ed1aa79524c9a1cecf7c05a28124.zip
[PATCH] lockdep: annotate genirq
Teach special (recursive) locking code to the lock validator. Has no effect on non-lockdep kernels. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index fc473d4b56fd..628b8e9e841a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -466,6 +466,7 @@ asmlinkage void __init start_kernel(void)
local_irq_disable();
early_boot_irqs_off();
+ early_init_irq_lock_class();
/*
* Interrupts are still disabled. Do necessary setups, then