[GIT pull] x86 updates

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Tuesday, July 15, 2008 - 2:01 pm

Linus,

Please pull the latest x86/urgent git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86/urgent

Thanks,

	tglx

------------------>

Thomas Gleixner (1):
      x86: fix TSC build error on 32bit


 arch/x86/kernel/tsc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 3c36f92..7603c05 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -358,6 +358,7 @@ static cycle_t read_tsc(void)
 		ret : clocksource_tsc.cycle_last;
 }
 
+#ifdef CONFIG_X86_64
 static cycle_t __vsyscall_fn vread_tsc(void)
 {
 	cycle_t ret = (cycle_t)vget_cycles();
@@ -365,6 +366,7 @@ static cycle_t __vsyscall_fn vread_tsc(void)
 	return ret >= __vsyscall_gtod_data.clock.cycle_last ?
 		ret : __vsyscall_gtod_data.clock.cycle_last;
 }
+#endif
 
 static struct clocksource clocksource_tsc = {
 	.name                   = "tsc",
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT pull] x86 updates, Thomas Gleixner, (Tue Jul 15, 2:01 pm)
Re: [GIT pull] x86 updates, Linus Torvalds, (Tue Jul 15, 2:20 pm)
Re: [GIT pull] x86 updates, Ingo Molnar, (Tue Jul 15, 2:25 pm)
Re: [GIT pull] x86 updates, Thomas Gleixner, (Tue Jul 15, 2:43 pm)
Re: [GIT pull] x86 updates, Linus Torvalds, (Tue Jul 15, 3:00 pm)
Re: [GIT pull] x86 updates, Ingo Molnar, (Tue Jul 15, 3:05 pm)
Re: [GIT pull] x86 updates, Thomas Gleixner, (Tue Jul 15, 3:14 pm)
Re: [GIT pull] x86 updates, Linus Torvalds, (Tue Jul 15, 4:29 pm)