]> err.no Git - linux-2.6/commitdiff
stacktrace: fix header file for !CONFIG_STACKTRACE
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 19 Jul 2007 08:49:02 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:49 +0000 (10:04 -0700)
The print_stack_trace macro in stacktrace.h has a wrong number of
arguments, fix it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/stacktrace.h

index 1d2b084c01859a3b4ebb4f1657129e8451110b5e..e7fa657d0c4940c6300a9ce4e516b73f765e31f3 100644 (file)
@@ -13,7 +13,7 @@ extern void save_stack_trace(struct stack_trace *trace);
 extern void print_stack_trace(struct stack_trace *trace, int spaces);
 #else
 # define save_stack_trace(trace)                       do { } while (0)
-# define print_stack_trace(trace)                      do { } while (0)
+# define print_stack_trace(trace, spaces)              do { } while (0)
 #endif
 
 #endif