From: Johannes Berg Date: Thu, 19 Jul 2007 08:49:02 +0000 (-0700) Subject: stacktrace: fix header file for !CONFIG_STACKTRACE X-Git-Tag: v3.12-rc1~27953 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b5ad0797c0e4049001f961a8b58f1d0ce532072;p=kernel%2Fkernel-generic.git stacktrace: fix header file for !CONFIG_STACKTRACE The print_stack_trace macro in stacktrace.h has a wrong number of arguments, fix it. Signed-off-by: Johannes Berg Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 1d2b084..e7fa657 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -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