|
@@ -621,14 +621,14 @@ struct IO_APIC_route_entry **alloc_ioapic_entries(void)
|
|
|
struct IO_APIC_route_entry **ioapic_entries;
|
|
|
|
|
|
ioapic_entries = kzalloc(sizeof(*ioapic_entries) * nr_ioapics,
|
|
|
- GFP_KERNEL);
|
|
|
+ GFP_ATOMIC);
|
|
|
if (!ioapic_entries)
|
|
|
return 0;
|
|
|
|
|
|
for (apic = 0; apic < nr_ioapics; apic++) {
|
|
|
ioapic_entries[apic] =
|
|
|
kzalloc(sizeof(struct IO_APIC_route_entry) *
|
|
|
- nr_ioapic_registers[apic], GFP_KERNEL);
|
|
|
+ nr_ioapic_registers[apic], GFP_ATOMIC);
|
|
|
if (!ioapic_entries[apic])
|
|
|
goto nomem;
|
|
|
}
|