projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd28f5d
)
arm64: cpuidle: add __init section marker to arm_cpuidle_init
author
Jisheng Zhang
<jszhang@marvell.com>
Thu, 2 Jul 2015 01:33:07 +0000
(09:33 +0800)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 2 Jul 2015 16:44:27 +0000
(17:44 +0100)
It is not needed after booting, this patch moves the arm_cpuidle_init()
function to the __init section.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpuidle.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/kernel/cpuidle.c
b/arch/arm64/kernel/cpuidle.c
index 7ce589ca54a4fbb8c3b9ea3c5c5235737e1947e7..9047cab68fd3494ebf1c634f137fddcfde955932 100644
(file)
--- a/
arch/arm64/kernel/cpuidle.c
+++ b/
arch/arm64/kernel/cpuidle.c
@@
-15,7
+15,7
@@
#include <asm/cpuidle.h>
#include <asm/cpu_ops.h>
-int arm_cpuidle_init(unsigned int cpu)
+int
__init
arm_cpuidle_init(unsigned int cpu)
{
int ret = -EOPNOTSUPP;