mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rt] compile error on interrupt off timing
@ 2006-12-10 15:40 Daniel Walker
  0 siblings, 0 replies; only message in thread
From: Daniel Walker @ 2006-12-10 15:40 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

I found a compile error with lockdep off, and interrupt off timing on. 
Fixed below, and I also fixed the ifdef comments.

Signed-Off-By: Daniel Walker <dwalker@mvista.com>

---
 kernel/latency_trace.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

Index: linux-2.6.19/kernel/latency_trace.c
===================================================================
--- linux-2.6.19.orig/kernel/latency_trace.c
+++ linux-2.6.19/kernel/latency_trace.c
@@ -1886,7 +1886,7 @@ void notrace time_hardirqs_off(unsigned 
 		__start_critical_timing(a0, a1, INTERRUPT_LATENCY);
 }
 
-#else /* !CONFIG_TRACE_IRQFLAGS */
+#else /* !CONFIG_LOCKDEP */
 
 /*
  * Dummy:
@@ -1908,6 +1908,10 @@ void trace_softirqs_off(unsigned long ip
 {
 }
 
+inline void print_irqtrace_events(struct task_struct *curr)
+{
+}
+
 /*
  * We are only interested in hardirq on/off events:
  */
@@ -1935,7 +1939,7 @@ void notrace trace_hardirqs_off(void)
 
 EXPORT_SYMBOL(trace_hardirqs_off);
 
-#endif /* CONFIG_TRACE_IRQFLAGS */
+#endif /* !CONFIG_LOCKDEP */
 
 #endif /* CONFIG_CRITICAL_IRQSOFF_TIMING */
 
--

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

only message in thread, other threads:[~2006-12-10 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-10 15:40 [PATCH -rt] compile error on interrupt off timing Daniel Walker

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®