diff options
author | Tejun Heo <tj@kernel.org> | 2010-04-06 19:23:33 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-04-07 06:41:41 +0900 |
commit | 18e5b539b451158be7aae6c390a20f0d3e5b9213 (patch) | |
tree | 4b1e8261c9afa01ebc2f45e594e2a9834aaf7ced /samples | |
parent | 0fdf86754f70e813845af4abaa805165ce57a0bb (diff) |
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 <tj@kernel.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions