From: John Rigg <lk@sound-man.co.uk>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: 2.6.17-rt4 x86_64 unknown symbol monotonic_clock
Date: Thu, 29 Jun 2006 19:53:43 +0100 [thread overview]
Message-ID: <20060629185343.GA2947@localhost.localdomain> (raw)
Hi Ingo,
I'm still getting this warning from `make modules_install':
WARNING: /lib/modules/2.6.17-rt4/kernel/drivers/char/hangcheck-timer.ko \
needs unknown symbol monotonic_clock
The patch below appears to fix it.
John
diff -uprN linux-2.6.17-rt4/arch/x86_64/kernel/time.c linux-2.6.17-rt4-patched/arch/x86_64/kernel/time.c
--- linux-2.6.17-rt4/arch/x86_64/kernel/time.c 2006-06-29 19:38:29.000000000 +0100
+++ linux-2.6.17-rt4-patched/arch/x86_64/kernel/time.c 2006-06-29 19:37:06.000000000 +0100
@@ -247,6 +247,15 @@ unsigned long long sched_clock(void)
return cycles_2_ns(a);
}
+/*
+ * Monotonic_clock - returns # of nanoseconds passed since time_init()
+ */
+unsigned long long monotonic_clock(void)
+{
+ return sched_clock();
+}
+EXPORT_SYMBOL(monotonic_clock);
+
static int tsc_unstable;
static inline int check_tsc_unstable(void)
next reply other threads:[~2006-06-29 18:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-29 18:53 John Rigg [this message]
2006-06-30 18:51 ` 2.6.17-rt4 x86_64 unknown symbol monotonic_clock Ingo Molnar
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=20060629185343.GA2947@localhost.localdomain \
--to=lk@sound-man.co.uk \
--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