aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/proc-fns.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/proc-fns.h')
-rw-r--r--arch/arm/include/asm/proc-fns.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/proc-fns.h b/arch/arm/include/asm/proc-fns.h
index 69802150be22..8ec535e11fd7 100644
--- a/arch/arm/include/asm/proc-fns.h
+++ b/arch/arm/include/asm/proc-fns.h
@@ -66,6 +66,11 @@ extern struct processor {
66 * ignore 'ext'. 66 * ignore 'ext'.
67 */ 67 */
68 void (*set_pte_ext)(pte_t *ptep, pte_t pte, unsigned int ext); 68 void (*set_pte_ext)(pte_t *ptep, pte_t pte, unsigned int ext);
69
70 /* Suspend/resume */
71 unsigned int suspend_size;
72 void (*do_suspend)(void *);
73 void (*do_resume)(void *);
69} processor; 74} processor;
70 75
71#ifndef MULTI_CPU 76#ifndef MULTI_CPU
@@ -86,6 +91,8 @@ extern void cpu_reset(unsigned long addr) __attribute__((noreturn));
86#define cpu_do_switch_mm(pgd,mm) processor.switch_mm(pgd,mm) 91#define cpu_do_switch_mm(pgd,mm) processor.switch_mm(pgd,mm)
87#endif 92#endif
88 93
94extern void cpu_resume(void);
95
89#include <asm/memory.h> 96#include <asm/memory.h>
90 97
91#ifdef CONFIG_MMU 98#ifdef CONFIG_MMU