lkml.org 
[lkml]   [2003]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.022 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site