lkml.org 
[lkml]   [2008]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.25-rc8-mm2 -- kernel/sched.c:8294: error: unknown field ‘read uint’ specified in initializer
From
Date
On Fri, 2008-04-11 at 09:48 -0400, Miles Lane 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

someone mucked around with the cgroup api; this should fix it:

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 7119895..8b4e0b6 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8291,8 +8291,8 @@ static struct cftype cpu_files[] = {
},
{
.name = "rt_period_us",
- .read_uint = cpu_rt_period_read_uint,
- .write_uint = cpu_rt_period_write_uint,
+ .read_u64 = cpu_rt_period_read_uint,
+ .write_u64 = cpu_rt_period_write_uint,
},
#endif
};



\
 
 \ /
  Last update: 2008-04-11 18:57    [W:0.066 / U:1.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site