Re: [PATCH] x86_64: remove check for CONSTANT_TSC from time.c

From: Andi Kleen
Date: Mon Jun 04 2007 - 14:05:49 EST


On Monday 04 June 2007 19:49, Joerg Roedel wrote:
> From: Joerg Roedel <joerg.roedel@xxxxxxx>
>
> This patch removes the check for the CONSTANT_TSC cpu flag from time.c
> on the x86_64 architecture. At the time this flag is checked at boot the
> cpu init code was yet not executed and thus the check fails. At this
> point the check for VENDOR_AMD and cpu family 0x10 is sufficient.

Wrong fix. The bit just needs to be set earlier in early cpu detect. Otherwise
there is a problem again with the next constant TSC AMD CPU.
I will do that.

-Andi
-
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/