diff options
-rw-r--r-- | drivers/base/dmapool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dmapool.c b/drivers/base/dmapool.c index 91970e9bb05e..7647abfe1890 100644 --- a/drivers/base/dmapool.c +++ b/drivers/base/dmapool.c | |||
@@ -127,7 +127,7 @@ dma_pool_create (const char *name, struct device *dev, | |||
127 | } else if (allocation < size) | 127 | } else if (allocation < size) |
128 | return NULL; | 128 | return NULL; |
129 | 129 | ||
130 | if (!(retval = kmalloc (sizeof *retval, GFP_KERNEL))) | 130 | if (!(retval = kmalloc_node (sizeof *retval, GFP_KERNEL, dev_to_node(dev)))) |
131 | return retval; | 131 | return retval; |
132 | 132 | ||
133 | strlcpy (retval->name, name, sizeof retval->name); | 133 | strlcpy (retval->name, name, sizeof retval->name); |