diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-02-03 03:04:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 08:32:06 -0800 |
commit | fe85a998ca64a067e58ca9240ec54a95994d78ee (patch) | |
tree | 6856b5b7e8aa8724abe9103737c71ef055e158c8 /kernel/cpuset.c | |
parent | 778116920e89b91b19d2b488a0d6fe63cf43379c (diff) | |
download | lwn-fe85a998ca64a067e58ca9240ec54a95994d78ee.tar.gz lwn-fe85a998ca64a067e58ca9240ec54a95994d78ee.zip |
[PATCH] cpuset: fix sparse warning
kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function 'cpuset_update_task_memory_state'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index fe2f71f92ae0..ba42b0a76961 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -641,7 +641,7 @@ static void guarantee_online_mems(const struct cpuset *cs, nodemask_t *pmask) * task has been modifying its cpuset. */ -void cpuset_update_task_memory_state() +void cpuset_update_task_memory_state(void) { int my_cpusets_mem_gen; struct task_struct *tsk = current; |