Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19147
b: refs/heads/master
c: dc64161
h: refs/heads/master
i:
  19145: 521560d
  19143: 9fefaba
v: v3
  • Loading branch information
Takashi Iwai authored and Tony Luck committed Jan 24, 2006
1 parent c94ca7a commit 4f17d02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a792058c3aaf5fb806e09a456e25b9f4f748dd1
refs/heads/master: dc64161343015162a3fabfcd20b9b84409af67d5
4 changes: 2 additions & 2 deletions trunk/arch/ia64/sn/pci/pci_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ 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, GFP_ATOMIC, get_order(size));
struct page *p = alloc_pages_node(node, flags, get_order(size));

if (likely(p))
cpuaddr = page_address(p);
else
return NULL;
} else
cpuaddr = (void *)__get_free_pages(GFP_ATOMIC, get_order(size));
cpuaddr = (void *)__get_free_pages(flags, get_order(size));

if (unlikely(!cpuaddr))
return NULL;
Expand Down

0 comments on commit 4f17d02

Please sign in to comment.