Преглед изворни кода

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 <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>
Johannes Berg пре 18 година
родитељ
комит
3b5ad0797c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/linux/stacktrace.h

+ 1 - 1
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);
 extern void print_stack_trace(struct stack_trace *trace, int spaces);
 #else
 #else
 # define save_stack_trace(trace)			do { } while (0)
 # 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
 
 
 #endif
 #endif