Re: 2.6.7-rc2-mm1

William Lee Irwin III
2004-06-01T11:26:43Z

On Tue, Jun 01, 2004 at 02:15:39AM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7-rc2/2.6.7-rc2-mm1/
> - NFS server udpates
> - md updates
> - big x86 dmi_scan.c cleanup
> - merged perfctr. No documentation though :(
> - cris architecture update

Hmm. task_cpu() on UP seems to be missing a const.

-- wli

Index: linux-2.6.7-rc2-mm1/include/linux/sched.h
===================================================================
--- linux-2.6.7-rc2-mm1.orig/include/linux/sched.h 2004-06-01 03:25:54.000000000 -0700
+++ linux-2.6.7-rc2-mm1/include/linux/sched.h 2004-06-01 04:24:17.000000000 -0700
@@ -1109,7 +1109,7 @@

#else

-static inline unsigned int task_cpu(struct task_struct *p)
+static inline unsigned int task_cpu(const struct task_struct *p)
{
return 0;
}