lkml.org 
[lkml]   [2001]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VCool - cool your Athlon/Duron during idle
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/

\
 
 \ /
  Last update: 2005-03-22 12:58    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site