Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sat, 6 Sep 2003 02:37:20 -0400 (EDT) | From | Zwane Mwaikambo <> | Subject | Re: [PATCH] idle using PNI monitor/mwait (take 3) |
| |
On Fri, 5 Sep 2003, Nakajima, Jun wrote:
> diff -ur /build/orig/linux-2.6.0-test4-mm6/arch/i386/kernel/cpu/intel.c > linux-2.6.0-test4-mm6/arch/i386/kernel/cpu/intel.c > --- /build/orig/linux-2.6.0-test4-mm6/arch/i386/kernel/cpu/intel.c > 2003-09-05 19:16:26.000000000 -0700 > +++ linux-2.6.0-test4-mm6/arch/i386/kernel/cpu/intel.c 2003-09-05 > 19:22:05.000000000 -0700 > @@ -12,6 +12,8 @@ > > #include "cpu.h" > > +extern void select_idle_routine(const struct cpuinfo_x86 *c);
Can't that go in the above included header?
> + if (!pm_idle) { > + pm_idle = mwait_idle; > + } > + return; > + } > + pm_idle = default_idle;
You don't have to set that.
Thanks, Zwane
- 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/
| ![\](/images/icornerr.gif) |