|
@@ -1021,7 +1021,7 @@ static void __init alloc_one_queue(unsigned long *pa_ptr, unsigned long qmask)
|
|
unsigned long order = get_order(size);
|
|
unsigned long order = get_order(size);
|
|
unsigned long p;
|
|
unsigned long p;
|
|
|
|
|
|
- p = __get_free_pages(GFP_KERNEL, order);
|
|
|
|
|
|
+ p = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order);
|
|
if (!p) {
|
|
if (!p) {
|
|
prom_printf("SUN4V: Error, cannot allocate queue.\n");
|
|
prom_printf("SUN4V: Error, cannot allocate queue.\n");
|
|
prom_halt();
|
|
prom_halt();
|