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    [W:0.024 / U:31.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site