Re: `do_gettimeoffday' broken on i686 SMP

Rafael Reilova (rreilova@ececs.uc.edu)
Mon, 18 Jan 1999 21:32:56 -0500 (EST)


On Mon, 18 Jan 1999, Mark-Andre Hopf wrote:

> +#if 0
> if (boot_cpu_data.x86_capability & X86_FEATURE_TSC) {
> #ifndef do_gettimeoffset
> do_gettimeoffset = do_fast_gettimeoffset;
> @@ -663,5 +663,6 @@
> printk("Detected %ld Hz processor.\n", cpu_hz);
> }
> }
> +#endif
> setup_x86_irq(0, &irq0);
> }
>
>
> the problem is gone. Interesting problem isn't it? :)

Hi,

Well, at least its clear why the problem is gone: the kernel will
no longer use the TSC for do_gettimeoffset, but relies on the "slow" timer
method. It'll work, but slower.

Cheers,

Rafael

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