From: Daniel Walker <dwalker@mvista.com>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH -rt] compile error on interrupt off timing
Date: Sun, 10 Dec 2006 07:40:47 -0800 [thread overview]
Message-ID: <20061210154047.314107000@mvista.com> (raw)
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 */
--
reply other threads:[~2006-12-10 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061210154047.314107000@mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®