RE: Dual core Athlons and unsynced TSCs

Steven Rostedt
2006-01-13T21:05:36Z

On Fri, 2006-01-13 at 21:46 +0100, Thomas Gleixner wrote:
> On Fri, 2006-01-13 at 15:43 -0500, Lee Revell wrote:
>
> > Ugh. In arch/x86_64/kernel/time.c monotonic_clock() uses the TSC
> > unconditionally.
>
> Can you try
>
> http://tglx.de/projects/hrtimers/2.6.15/patch-2.6.15-hrt2.patch
>
> please ?
>
> tglx
>
>

Hmm, it doesn't compile :(

-- Steve

rostedt@gandalf:~/work/kernels/linux-2.6.15-hrt2$ make
amdmake
CHK include/linux/version.h
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/timex.h:61,
from include/linux/sched.h:11,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/timex.h: In function 'get_cycles_sync':
include/asm/timex.h:36: warning: implicit declaration of function 'alternative_io'
include/asm/timex.h:37: error: called object '"=a"' is not a function
include/asm/timex.h:37: error: called object '"0"' is not a function
include/asm/timex.h:37: error: syntax error before ':' token
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2