From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Glauber de Oliveira Costa <glommer@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86: export native_read_tsc
Date: Mon, 07 Jan 2008 17:21:01 -0800 [thread overview]
Message-ID: <4782CFFD.3040902@goop.org> (raw)
native_read_tsc is needed by modules, so it should be exported.
make -C /home/jeremy/hg/xen/paravirt/linux O=/home/jeremy/hg/xen/paravirt/linux-x86_64
Using /home/jeremy/hg/xen/paravirt/linux as source for kernel
GEN /home/jeremy/hg/xen/paravirt/linux-x86_64/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL /home/jeremy/hg/xen/paravirt/linux/scripts/checksyscalls.sh
CHK include/linux/compile.h
Kernel: arch/x86/boot/bzImage is ready (#49)
Building modules, stage 2.
MODPOST 257 modules
ERROR: "native_read_tsc" [drivers/input/gameport/gameport.ko] undefined!
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Glauber de Oliveira Costa <glommer@gmail.com>
---
arch/x86/kernel/rtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
===================================================================
--- a/arch/x86/kernel/rtc.c
+++ b/arch/x86/kernel/rtc.c
@@ -204,4 +204,4 @@ unsigned long long native_read_tsc(void)
return EAX_EDX_VAL(val, low, high);
}
-
+EXPORT_SYMBOL(native_read_tsc);
reply other threads:[~2008-01-08 1:23 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=4782CFFD.3040902@goop.org \
--to=jeremy@goop.org \
--cc=glommer@gmail.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
Powered by JetHome