[PATCH] unwinder: Remove lockdep disabling of nested locks for unwinder
authorAndi Kleen <ak@suse.de>
Thu, 7 Dec 2006 01:14:12 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:12 +0000 (02:14 +0100)
Shouldn't be needed anymore since __kernel_text_address
is used unconditionally on x86-64

Signed-off-by: Andi Kleen <ak@suse.de>
kernel/lockdep.c

index c9fefdb1a7db45df9658dd32d963e7f28bbdfdf4..9bb8d784eb02c457281bba5607f980ea359843a0 100644 (file)
@@ -228,11 +228,7 @@ static int save_trace(struct stack_trace *trace)
        trace->skip = 3;
        trace->all_contexts = 0;
 
-       /* Make sure to not recurse in case the the unwinder needs to tak
-e         locks. */
-       lockdep_off();
        save_stack_trace(trace, NULL);
-       lockdep_on();
 
        trace->max_entries = trace->nr_entries;