Re: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102

Martin Mares (
Mon, 18 May 1998 13:21:54 +0200


> The following single mod to function time_init() in time.c correctly
> handles both the 6x86MX and the Centaur C6 power-down features:
> Replace:
> if (boot_cpu_data.x86_capability & 16) {
> ...
> By:
> if ((boot_cpu_data.x86_capability & 16) && (boot_cpu_data.x86_vendor !=
> X86_VENDOR_CYRIX) && (boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR)) {

I think we should add a new bug flag to the cpu_data structure and
set it in the CPU detection code whenever we detect CPU with such
`features' and make the timer code use this flag. (It's better than adding
the test to the timer code as it might be useful on more places.)

Have a nice fortnight

Martin `MJ' Mares   <>
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"If a train station is where the train stops, what is a work station?"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to