projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e97ef
)
arm64: kernel: add missing __init section marker to cpu_suspend_init
author
Lorenzo Pieralisi
<
[email protected]
>
Thu, 17 Jul 2014 17:19:20 +0000
(18:19 +0100)
committer
Catalin Marinas
<
[email protected]
>
Fri, 18 Jul 2014 14:23:59 +0000
(15:23 +0100)
Suspend init function must be marked as __init, since it is not needed
after the kernel has booted. This patch moves the cpu_suspend_init()
function to the __init section.
Signed-off-by: Lorenzo Pieralisi <
[email protected]
>
Signed-off-by: Catalin Marinas <
[email protected]
>
arch/arm64/kernel/suspend.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/suspend.c
b/arch/arm64/kernel/suspend.c
index 1fa9ce4afd8fa2c88b63fbc058ad95db193f9d0e..55a99b9a97e0f49409a59e6f72ee2441cc35225f 100644
(file)
--- a/
arch/arm64/kernel/suspend.c
+++ b/
arch/arm64/kernel/suspend.c
@@
-119,7
+119,7
@@
int cpu_suspend(unsigned long arg)
extern struct sleep_save_sp sleep_save_sp;
extern phys_addr_t sleep_idmap_phys;
-static int cpu_suspend_init(void)
+static int
__init
cpu_suspend_init(void)
{
void *ctx_ptr;