]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Jul 2014 14:23:59 +0000 (15:23 +0100)
commit18ab7db6b749ac27aac08d572afbbd2f4d937934
tree35782d6f10449a2203d284054fec84d4668e1f87
parentb9e97ef93c630404f305350d88d09391d1a55648
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>
arch/arm64/kernel/suspend.c