summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2015-11-12 15:04:44 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2015-11-12 18:18:14 +0300
commit01b305a234943c25c336a6f2f77932a4eaf125fa (patch)
tree0d2ba51a378f6cad62b1cb123eaf7d623eaf392b /arch/arm64
parent9a17a213345584fbc692f6b3a715aa451d4c75e9 (diff)
downloadlinux-01b305a234943c25c336a6f2f77932a4eaf125fa.tar.xz
arm64: suspend: make hw_breakpoint_restore static
hw_breakpoint_restore is only used within suspend.c, so it can be declared static. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/suspend.c b/arch/arm64/kernel/suspend.c
index 3c5e4e6dcf68..d87403e8ba1d 100644
--- a/arch/arm64/kernel/suspend.c
+++ b/arch/arm64/kernel/suspend.c
@@ -41,7 +41,7 @@ void notrace __cpu_suspend_save(struct cpu_suspend_ctx *ptr,
* time the notifier runs debug exceptions might have been enabled already,
* with HW breakpoints registers content still in an unknown state.
*/
-void (*hw_breakpoint_restore)(void *);
+static void (*hw_breakpoint_restore)(void *);
void __init cpu_suspend_set_dbg_restorer(void (*hw_bp_restore)(void *))
{
/* Prevent multiple restore hook initializations */