mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] stacktrace: fix header file for !CONFIG_STACKTRACE
@ 2007-07-05 14:09 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-07-05 14:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel list, Ingo Molnar

The print_stack_trace macro in stacktrace.h has a wrong number of
arguments, fix it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 include/linux/stacktrace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6-git.orig/include/linux/stacktrace.h	2007-07-05 16:03:41.313168396 +0200
+++ linux-2.6-git/include/linux/stacktrace.h	2007-07-05 16:04:01.588168396 +0200
@@ -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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-06 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-05 14:09 [PATCH] stacktrace: fix header file for !CONFIG_STACKTRACE Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®