arm64: kernel: add missing __init section marker to cpu_suspend_init
authorLorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>
Thu, 17 Jul 2014 17:19:20 +0000 (18:19 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 16 Mar 2015 12:45:40 +0000 (20:45 +0800)
commit6203b69d69c5867b60c8e11a4dcaa6e3fc4b63a2
treef19dfa3ac0b70062b051b0a493e4554fa7d6f412
parent81f35ed60fabfd5b310263a7202595913529ee74
arm64: kernel: add missing __init section marker to cpu_suspend_init

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 <lorenzo.pieralisi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 18ab7db6b749ac27aac08d572afbbd2f4d937934)
arch/arm64/kernel/suspend.c