Re: VCool - cool your Athlon/Duron during idle

From: Pavel Machek (pavel@ucw.cz)
Date: Mon Aug 27 2001 - 17:46:28 EST


Hi!

> +static void stpclk_idle(void)
> +{
> + if (current_cpu_data.hlt_works_ok && !hlt_counter) {
> + __cli();
> + if (!current->need_resched)
> + inb(Reg_PL2);
> + else
> + __sti();
> + }
> +}

You are not using hlt instruction -> you don't need to care about
hlt_works_ok.
                                                        Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:28 EST