[-mm patch] mm/memory_hotplug.c must #include <linux/cpuset.h>

From: Adrian Bunk
Date: Mon Sep 04 2006 - 14:39:13 EST


This patch fixes the following compile error:

<-- snip -->

...
CC mm/memory_hotplug.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/mm/memory_hotplug.c: In function âadd_memoryâ:
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/mm/memory_hotplug.c:286: error: implicit declaration of function âcpuset_track_online_nodesâ
make[2]: *** [mm/memory_hotplug.o] Error 1

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.18-rc5-mm1/mm/memory_hotplug.c.old 2006-09-04 20:23:30.000000000 +0200
+++ linux-2.6.18-rc5-mm1/mm/memory_hotplug.c 2006-09-04 20:23:48.000000000 +0200
@@ -22,6 +22,7 @@
#include <linux/highmem.h>
#include <linux/vmalloc.h>
#include <linux/ioport.h>
+#include <linux/cpuset.h>

#include <asm/tlbflush.h>


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