• Tejun Heo's avatar
    nodemask: include slab.h from drivers/base/node.c · 18e5b539
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Reported-by: default avatarIngo Molnar <mingo@elte.hu>
    18e5b539
node.c 16.4 KB