lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.16-rc6-rt1
From
Date
Hi Ingo,

I noticed that if I have latency tracing on and don't have early_printk,
it also won't compile. Here's a patch to solve that too.

-- Steve

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Index: linux-2.6.16-rc6-rt2/kernel/latency.c
===================================================================
--- linux-2.6.16-rc6-rt2.orig/kernel/latency.c 2006-03-13 10:25:30.000000000 -0500
+++ linux-2.6.16-rc6-rt2/kernel/latency.c 2006-03-13 19:59:55.000000000 -0500
@@ -495,6 +495,7 @@

#endif

+#ifdef CONFIG_EARLY_PRINTK
static void notrace early_printk_name(unsigned long eip)
{
char namebuf[KSYM_NAME_LEN+1];
@@ -556,7 +557,9 @@
}
spin_unlock(&early_print_lock);
}
-
+#else
+# define early_print_entry(x) do { } while(0)
+#endif

static void notrace
____trace(int cpu, enum trace_type type, struct cpu_trace *tr,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-14 03:25    [from the cache]
©2003-2011 Jasper Spaans