|
@@ -121,7 +121,7 @@ static unsigned long cpm_muram_alloc_common(unsigned long size,
|
|
|
goto out2;
|
|
|
start = start - GENPOOL_OFFSET;
|
|
|
memset_io(cpm_muram_addr(start), 0, size);
|
|
|
- entry = kmalloc(sizeof(*entry), GFP_KERNEL);
|
|
|
+ entry = kmalloc(sizeof(*entry), GFP_ATOMIC);
|
|
|
if (!entry)
|
|
|
goto out1;
|
|
|
entry->start = start;
|