Skip to contentSkip to conversation

stacktrace: fix header file for !CONFIG_STACKTRACE

PATCH New Johannes Berg 1 participant 1 message Jul 6, 2007

lore
Share & tools
lore
#0 lore raw

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.

---
 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 stac
 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