summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/include/asm/suspend.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/include/asm/suspend.h')
-rw-r--r--kernel/arch/arm/include/asm/suspend.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/arm/include/asm/suspend.h b/kernel/arch/arm/include/asm/suspend.h
new file mode 100644
index 000000000..cd20029bc
--- /dev/null
+++ b/kernel/arch/arm/include/asm/suspend.h
@@ -0,0 +1,12 @@
+#ifndef __ASM_ARM_SUSPEND_H
+#define __ASM_ARM_SUSPEND_H
+
+struct sleep_save_sp {
+ u32 *save_ptr_stash;
+ u32 save_ptr_stash_phys;
+};
+
+extern void cpu_resume(void);
+extern int cpu_suspend(unsigned long, int (*)(unsigned long));
+
+#endif