projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c9944
)
pm: use GFP_ATOMIC when pm core call this function
author
Scott Jiang
<scott.jiang.linux@gmail.com>
Mon, 16 Sep 2013 04:53:09 +0000
(
00:53
-0400)
committer
Jiri Slaby
<jslaby@suse.cz>
Tue, 19 Jan 2016 15:53:34 +0000
(16:53 +0100)
commit
aefefe92116b776203f95f3249ae61b94f73f170
upstream.
We shouldn't sleep in atomic sections.
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Cc: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/blackfin/mach-common/pm.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/pm.c
b/arch/blackfin/mach-common/pm.c
index 87bfe549ad3f5044b8ce652434b98d00470672fc..92273fa6804a83b62a9e8ab8b0f1c7f73ce94378 100644
(file)
--- a/
arch/blackfin/mach-common/pm.c
+++ b/
arch/blackfin/mach-common/pm.c
@@
-144,7
+144,7
@@
int bfin_pm_suspend_mem_enter(void)
unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH
+ L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH,
- GFP_
KERNEL
);
+ GFP_
ATOMIC
);
if (memptr == NULL) {
panic("bf53x_suspend_l1_mem malloc failed");