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 <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]