git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page allocator: do not check NUMA node ID when the caller knows the node is valid
[safe/jmp/linux-2.6]
/
arch
/
ia64
/
sn
/
pci
/
pci_dma.c
diff --git
a/arch/ia64/sn/pci/pci_dma.c
b/arch/ia64/sn/pci/pci_dma.c
index
d876423
..
98b6849
100644
(file)
--- a/
arch/ia64/sn/pci/pci_dma.c
+++ b/
arch/ia64/sn/pci/pci_dma.c
@@
-90,7
+90,8
@@
static void *sn_dma_alloc_coherent(struct device *dev, size_t size,
*/
node = pcibus_to_node(pdev->bus);
if (likely(node >=0)) {
- struct page *p = alloc_pages_node(node, flags, get_order(size));
+ struct page *p = alloc_pages_exact_node(node,
+ flags, get_order(size));
if (likely(p))
cpuaddr = page_address(p);