summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-07-23 12:05:10 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2013-07-23 12:05:10 +0200
commitb0946fc84628b8d60e7a2034b48d1aff7da9d1df (patch)
tree082fff74dc0756a687d513198a7b699ba7de5fac
parentarm64: virt: ensure visibility of __boot_cpu_mode (diff)
downloadlinux-b0946fc84628b8d60e7a2034b48d1aff7da9d1df.tar.xz
linux-b0946fc84628b8d60e7a2034b48d1aff7da9d1df.zip
arm64: Fix definition of arm_pm_restart to match the declaration
Commit ff70130 (arm64: use common reboot infrastructure) converted the arm_pm_restart declaration to the new reboot infrastructure but missed the actual definition. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index 1788bf6b471f..57fb55c44c90 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -81,7 +81,7 @@ void soft_restart(unsigned long addr)
void (*pm_power_off)(void);
EXPORT_SYMBOL_GPL(pm_power_off);
-void (*arm_pm_restart)(char str, const char *cmd);
+void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
EXPORT_SYMBOL_GPL(arm_pm_restart);
void arch_cpu_idle_prepare(void)