diff options
-rw-r--r-- | drivers/soc/fsl/qe/qe_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/fsl/qe/qe_common.c b/drivers/soc/fsl/qe/qe_common.c index e18159acfe45..41eff805a904 100644 --- a/drivers/soc/fsl/qe/qe_common.c +++ b/drivers/soc/fsl/qe/qe_common.c | |||
@@ -121,7 +121,7 @@ static unsigned long cpm_muram_alloc_common(unsigned long size, | |||
121 | goto out2; | 121 | goto out2; |
122 | start = start - GENPOOL_OFFSET; | 122 | start = start - GENPOOL_OFFSET; |
123 | memset_io(cpm_muram_addr(start), 0, size); | 123 | memset_io(cpm_muram_addr(start), 0, size); |
124 | entry = kmalloc(sizeof(*entry), GFP_KERNEL); | 124 | entry = kmalloc(sizeof(*entry), GFP_ATOMIC); |
125 | if (!entry) | 125 | if (!entry) |
126 | goto out1; | 126 | goto out1; |
127 | entry->start = start; | 127 | entry->start = start; |