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

From: Andrew Morton
Date: Mon Apr 14 2008 - 22:39:29 EST


On Mon, 14 Apr 2008 22:28:27 -0400 "Miles Lane" <miles.lane@xxxxxxxxx> wrote:

> Hmm. This is showing up in 2.6.25-rc9 and looks related to the
> problem in 2.6.25-rc9-mm2:
>
> CC kernel/sched.o
> kernel/sched.c:7988: error: unknown field 'read_u64' specified in initializer
> kernel/sched.c:7988: error: 'cpu_shares_read_u64' undeclared here (not
> in a function)
> kernel/sched.c:7989: error: unknown field 'write_u64' specified in initializer
> kernel/sched.c:7989: error: 'cpu_shares_write_u64' undeclared here
> (not in a function)
> kernel/sched.c:7995: error: unknown field 'read_s64' specified in initializer
> kernel/sched.c:7995: warning: initialization makes integer from
> pointer without a cast
> kernel/sched.c:7996: error: unknown field 'write_s64' specified in initializer
> kernel/sched.c:7996: warning: initialization from incompatible pointer type
> kernel/sched.c:8000: error: 'cpu_rt_period_read_uint' undeclared here
> (not in a function)
> kernel/sched.c:8001: error: 'cpu_rt_period_write_uint' undeclared here
> (not in a function)

I'm suspecting that you applied the -mm patch, then you applied
cgroup-api-files-rename-read-write_uint-methods-to-read_write_u64-fix.patch,
then you reverted the -mm patch but didn't revert
cgroup-api-files-rename-read-write_uint-methods-to-read_write_u64-fix.patch.
--
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/