lkml.org 
[lkml]   [1998]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102
Hi,

> 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 <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
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 majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.130 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site