stacktrace: fix header file for !CONFIG_STACKTRACE
PATCH 1/1 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 <[email protected]>
--- include/linux/stacktrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/stacktrace.h +1 -1
@@ -13,7 +13,7 @@ extern void save_stack_trace(struct stacextern 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