diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2015-11-20 17:59:10 +0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-02 12:17:11 +0000 |
commit | a7c61a3452d39078919f0e1f493ff966fb64f0db (patch) | |
tree | 8c468378d735c901987460c7a14c958ea4b432c7 /arch/arm64/kernel/fpsimd.c | |
parent | 76c714be0e5e60c935a53b31be58939510ba1d0f (diff) | |
download | blackbird-obmc-linux-a7c61a3452d39078919f0e1f493ff966fb64f0db.tar.gz blackbird-obmc-linux-a7c61a3452d39078919f0e1f493ff966fb64f0db.zip |
arm64: add __init/__initdata section marker to some functions/variables
These functions/variables are not needed after booting, so mark them
as __init or __initdata.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/fpsimd.c')
-rw-r--r-- | arch/arm64/kernel/fpsimd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index 4c46c54a3ad7..acc1afd5c749 100644 --- a/arch/arm64/kernel/fpsimd.c +++ b/arch/arm64/kernel/fpsimd.c @@ -289,7 +289,7 @@ static struct notifier_block fpsimd_cpu_pm_notifier_block = { .notifier_call = fpsimd_cpu_pm_notifier, }; -static void fpsimd_pm_init(void) +static void __init fpsimd_pm_init(void) { cpu_pm_register_notifier(&fpsimd_cpu_pm_notifier_block); } |