Skip to content

Commit

Permalink
stacktrace: fix header file for !CONFIG_STACKTRACE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and Linus Torvalds committed Jul 19, 2007
1 parent c71063c commit 3b5ad07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/stacktrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3b5ad07

Please sign in to comment.