summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/suspend.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/suspend.h')
-rw-r--r--arch/arm64/include/asm/suspend.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/suspend.h b/arch/arm64/include/asm/suspend.h
index a88558e223da..e9c149c042e0 100644
--- a/arch/arm64/include/asm/suspend.h
+++ b/arch/arm64/include/asm/suspend.h
@@ -15,4 +15,13 @@ struct cpu_suspend_ctx {
u64 ctx_regs[NR_CTX_REGS];
u64 sp;
} __aligned(16);
+
+struct sleep_save_sp {
+ phys_addr_t *save_ptr_stash;
+ phys_addr_t save_ptr_stash_phys;
+};
+
+extern void cpu_resume(void);
+extern int cpu_suspend(unsigned long);
+
#endif