Messages in this thread | | | Date | Tue, 28 Aug 2001 00:46:28 +0200 | From | Pavel Machek <> | Subject | Re: 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/
| |