projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kexec: allocate the kexec control page with KEXEC_CONTROL_MEMORY_GFP
[platform/kernel/linux-starfive.git]
/
include
/
linux
/
kexec.h
diff --git
a/include/linux/kexec.h
b/include/linux/kexec.h
index
e60a745
..
e804306
100644
(file)
--- a/
include/linux/kexec.h
+++ b/
include/linux/kexec.h
@@
-40,6
+40,10
@@
#error KEXEC_CONTROL_MEMORY_LIMIT not defined
#endif
+#ifndef KEXEC_CONTROL_MEMORY_GFP
+#define KEXEC_CONTROL_MEMORY_GFP GFP_KERNEL
+#endif
+
#ifndef KEXEC_CONTROL_PAGE_SIZE
#error KEXEC_CONTROL_PAGE_SIZE not defined
#endif