From: Johannes Berg Date: Thu, 19 Jul 2007 08:49:02 +0000 (-0700) Subject: stacktrace: fix header file for !CONFIG_STACKTRACE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b5ad0797c0e4049001f961a8b58f1d0ce532072;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 1d2b084c0185..e7fa657d0c49 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