projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1fe33
)
[RAMEN9610-10895][COMMON] ASoC: abox: remove GFP_KERNEL flag
author
Gyeongtaek Lee
<gt82.lee@samsung.com>
Fri, 24 Aug 2018 05:54:28 +0000
(14:54 +0900)
committer
hskang
<hs1218.kang@samsung.com>
Tue, 15 Jan 2019 11:06:21 +0000
(20:06 +0900)
GFP_ATOMIC shoudn't be used with GFP_KERNEL.
Change-Id: I5576be136b00436fe040bcd181070612e4a61601
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
sound/soc/samsung/abox/abox_dbg.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/samsung/abox/abox_dbg.c
b/sound/soc/samsung/abox/abox_dbg.c
index d915d4d0f48e8e8e43d81563d36d11bf5318f8d0..a1021e008b340e3a5861b8b486dde56c79f8956b 100644
(file)
--- a/
sound/soc/samsung/abox/abox_dbg.c
+++ b/
sound/soc/samsung/abox/abox_dbg.c
@@
-121,7
+121,7
@@
static void *abox_dbg_alloc_mem_atomic(struct device *dev, struct abox_dbg_dump_
int i, j;
int npages = DRAM_FIRMWARE_SIZE / PAGE_SIZE;
struct page **tmp;
- gfp_t alloc_gfp_flag = GFP_
KERNEL | GFP_
ATOMIC;
+ gfp_t alloc_gfp_flag = GFP_ATOMIC;
p_dump->pages = kzalloc(sizeof(struct page *) * npages, alloc_gfp_flag);
if (!p_dump->pages) {