From: Tejun Heo Date: Tue, 6 Apr 2010 10:23:33 +0000 (+0900) Subject: nodemask: include slab.h from drivers/base/node.c X-Git-Tag: v2.6.34-rc4~30^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18e5b539b451158be7aae6c390a20f0d3e5b9213;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git nodemask: include slab.h from drivers/base/node.c NODEMASK_ALLOC/FREE are mapped to kmalloc/free if NODES_SHIFT > 8. Among its several users, drivers/base/node.c wasn't including slab.h leading to build failure if NODES_SHIFT > 8. Include slab.h from drivers/base/node.c. This isn't an ideal solution but including slab.h directly from nodemask.h is not an option because nodemask.h gets included everywhere. For now, make it work by including slab.h from its users. Signed-off-by: Tejun Heo Reported-by: Ingo Molnar --- diff --git a/drivers/base/node.c b/drivers/base/node.c index 985abd7..057979a 100644 --- a/drivers/base/node.c +++ b/drivers/base/node.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include static struct sysdev_class_attribute *node_state_attrs[];