[PATCH] cpuset: fix sparse warning

From: Randy.Dunlap
Date: Sun Jan 22 2006 - 15:06:46 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
---
kernel/cpuset.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2616-rc1g4.orig/kernel/cpuset.c
+++ linux-2616-rc1g4/kernel/cpuset.c
@@ -641,7 +641,7 @@ static void guarantee_online_mems(const
* 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;


---
-
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/