diff options
Diffstat (limited to 'arch/sparc64/kernel/sbus.c')
-rw-r--r-- | arch/sparc64/kernel/sbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/sbus.c b/arch/sparc64/kernel/sbus.c index 96b825055668..d95a1bcf163d 100644 --- a/arch/sparc64/kernel/sbus.c +++ b/arch/sparc64/kernel/sbus.c | |||
@@ -327,7 +327,7 @@ void *sbus_alloc_consistent(struct sbus_dev *sdev, size_t size, dma_addr_t *dvma | |||
327 | order = get_order(size); | 327 | order = get_order(size); |
328 | if (order >= 10) | 328 | if (order >= 10) |
329 | return NULL; | 329 | return NULL; |
330 | first_page = __get_free_pages(GFP_KERNEL, order); | 330 | first_page = __get_free_pages(GFP_KERNEL|__GFP_COMP, order); |
331 | if (first_page == 0UL) | 331 | if (first_page == 0UL) |
332 | return NULL; | 332 | return NULL; |
333 | memset((char *)first_page, 0, PAGE_SIZE << order); | 333 | memset((char *)first_page, 0, PAGE_SIZE << order); |