Re: 2.6.25-rc8-mm2 -- kernel/sched.c:8294: error: unknown field ‘read_uint’ specified in initializer

From: Miles Lane
Date: Fri Apr 11 2008 - 11:30:15 EST


On Fri, Apr 11, 2008 at 9:55 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Miles Lane <miles.lane@xxxxxxxxx> wrote:
>
> > CC kernel/sched.o
> > kernel/sched.c:8294: error: unknown field 'read_uint' specified in initializer
> > kernel/sched.c:8294: warning: initialization makes integer from
> > pointer without a cast
> > kernel/sched.c:8295: error: unknown field 'write_uint' specified in initializer
> > kernel/sched.c:8295: warning: initialization from incompatible pointer type
>
> cannot reproduce it in sched-devel/for-akpm (which -mm is based off) nor
> in sched-devel/latest, using your config. Could you check sched-devel
> via:
>
> http://people.redhat.com/mingo/sched-devel.git/README

That tree compiled fine after running "make oldconfig".

> or maybe it's some other sched.c change in -mm? That line is around the
> control groups code and maybe that got changed in -mm?

I tried a "make mrproper" before compiling the 2.6.25-rc8-mm2 tree and it
still gave the same error. This seems to be something specific to the latest
MM tree.

Miles
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/