RE: Dual core Athlons and unsynced TSCs

From: Steven Rostedt
Date: Fri Jan 13 2006 - 16:04:12 EST


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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/