|
@@ -518,7 +518,7 @@ static inline int node_random(const nodemask_t *mask)
|
|
* NODEMASK_ALLOC(type, name) allocates an object with a specified type and
|
|
* NODEMASK_ALLOC(type, name) allocates an object with a specified type and
|
|
* name.
|
|
* name.
|
|
*/
|
|
*/
|
|
-#if NODES_SHIFT > 8 /* nodemask_t > 256 bytes */
|
|
|
|
|
|
+#if NODES_SHIFT > 8 /* nodemask_t > 32 bytes */
|
|
#define NODEMASK_ALLOC(type, name, gfp_flags) \
|
|
#define NODEMASK_ALLOC(type, name, gfp_flags) \
|
|
type *name = kmalloc(sizeof(*name), gfp_flags)
|
|
type *name = kmalloc(sizeof(*name), gfp_flags)
|
|
#define NODEMASK_FREE(m) kfree(m)
|
|
#define NODEMASK_FREE(m) kfree(m)
|