Re: Linux v2.6.0-test1

From: Dave Jones (davej@codemonkey.org.uk)
Date: Tue Jul 15 2003 - 05:56:57 EST


On Tue, Jul 15, 2003 at 12:11:32AM -0400, Matt Reppert wrote:
> I need this to build on powerpc (plus the patch by Jasper Spaans already posted).

> * cpufreq_parse_policy - parse a policy string
> diff -NruX /home/arashi/kdontdiff linux-2.6.0-test1-orig/include/linux/notifier.h linux-2.6.0-test1/include/linux/notifier.h
> --- linux-2.6.0-test1-orig/include/linux/notifier.h 2003-07-13 23:30:36.000000000 -0400
> +++ linux-2.6.0-test1/include/linux/notifier.h 2003-07-14 23:41:56.000000000 -0400
> @@ -65,6 +65,7 @@
> #define CPU_UP_CANCELED 0x0004 /* CPU (unsigned)v NOT coming up */
> #define CPU_OFFLINE 0x0005 /* CPU (unsigned)v offline (still scheduling) */
> #define CPU_DEAD 0x0006 /* CPU (unsigned)v dead */
> +#define CPUFREQ_ALL_CPUS ((NR_CPUS))
>
> #endif /* __KERNEL__ */
> #endif /* _LINUX_NOTIFIER_H */

include/linux/cpufreq.h seems a more natural place to put this.
Can you confirm that works ok on PPC? I lack hardware to test.

Otherwise, looks good.

                Dave

-
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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:56 EST