git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dma: make dma pool to use kmalloc_node
[sfrench/cifs-2.6.git]
/
drivers
/
base
/
dmapool.c
diff --git
a/drivers/base/dmapool.c
b/drivers/base/dmapool.c
index 91970e9bb05e3071f98346b5f378f064ec18e4b8..7647abfe189081dcec38eace34025899dd531a99 100644
(file)
--- a/
drivers/base/dmapool.c
+++ b/
drivers/base/dmapool.c
@@
-127,7
+127,7
@@
dma_pool_create (const char *name, struct device *dev,
} else if (allocation < size)
return NULL;
- if (!(retval = kmalloc
(sizeof *retval, GFP_KERNEL
)))
+ if (!(retval = kmalloc
_node (sizeof *retval, GFP_KERNEL, dev_to_node(dev)
)))
return retval;
strlcpy (retval->name, name, sizeof retval->name);