summaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/time.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-02-17 01:42:07 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-17 19:00:40 +0300
commit7fd67843b96f90f59c9a244a1bc25137978a3ff9 (patch)
tree600a7951745cc67f36075e5d60c30bd5ea842112 /arch/x86_64/kernel/time.c
parentab68805955ee3dd84a6aa76cd70e61fde996968d (diff)
downloadlinux-7fd67843b96f90f59c9a244a1bc25137978a3ff9.tar.xz
[PATCH] x86_64: Disable tsc when apicpmtimer is active
Otherwise it has no effect anyways. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/time.c')
-rw-r--r--arch/x86_64/kernel/time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 3c58c30506a1..67841d11ed1f 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -1327,8 +1327,7 @@ static int __init nohpet_setup(char *s)
__setup("nohpet", nohpet_setup);
-
-static int __init notsc_setup(char *s)
+int __init notsc_setup(char *s)
{
notsc = 1;
return 0;