summaryrefslogtreecommitdiff
path: root/include/asm-i386/tsc.h
diff options
context:
space:
mode:
authorjohn stultz <johnstul@us.ibm.com>2007-05-02 17:27:08 (GMT)
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 17:27:08 (GMT)
commit5a90cf205c922707ffed2d8f87cefd942e96b0ba (patch)
tree5e9c9c1be3d149bff7620db89e1ede2317ba7362 /include/asm-i386/tsc.h
parent2714221985ce6388ec2fa78d7d52e2a5bef78eec (diff)
downloadlinux-fsl-qoriq-5a90cf205c922707ffed2d8f87cefd942e96b0ba.tar.xz
[PATCH] x86: Log reason why TSC was marked unstable
Change mark_tsc_unstable() so it takes a string argument, which holds the reason the TSC was marked unstable. This is then displayed the first time mark_tsc_unstable is called. This should help us better debug why the TSC was marked unstable on certain systems and allow us to make sure we're not being overly paranoid when throwing out this troublesome clocksource. Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386/tsc.h')
-rw-r--r--include/asm-i386/tsc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/tsc.h b/include/asm-i386/tsc.h
index 84016ff..3469766 100644
--- a/include/asm-i386/tsc.h
+++ b/include/asm-i386/tsc.h
@@ -53,7 +53,7 @@ static __always_inline cycles_t get_cycles_sync(void)
}
extern void tsc_init(void);
-extern void mark_tsc_unstable(void);
+extern void mark_tsc_unstable(char *reason);
extern int unsynchronized_tsc(void);
extern void init_tsc_clocksource(void);