suspend.h (85a3685852d9ac7d92be9d824533c915a4597fa4) | suspend.h (af391b15f7b56ce19f52862d36595637dd42b575) |
---|---|
1#ifndef __ASM_SUSPEND_H 2#define __ASM_SUSPEND_H 3 4#define NR_CTX_REGS 11 5 6/* 7 * struct cpu_suspend_ctx must be 16-byte aligned since it is allocated on 8 * the stack, which must be 16-byte aligned on v8 --- 7 unchanged lines hidden (view full) --- 16 u64 sp; 17} __aligned(16); 18 19struct sleep_save_sp { 20 phys_addr_t *save_ptr_stash; 21 phys_addr_t save_ptr_stash_phys; 22}; 23 | 1#ifndef __ASM_SUSPEND_H 2#define __ASM_SUSPEND_H 3 4#define NR_CTX_REGS 11 5 6/* 7 * struct cpu_suspend_ctx must be 16-byte aligned since it is allocated on 8 * the stack, which must be 16-byte aligned on v8 --- 7 unchanged lines hidden (view full) --- 16 u64 sp; 17} __aligned(16); 18 19struct sleep_save_sp { 20 phys_addr_t *save_ptr_stash; 21 phys_addr_t save_ptr_stash_phys; 22}; 23 |
24extern int __cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); | 24extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); |
25extern void cpu_resume(void); 26#endif | 25extern void cpu_resume(void); 26#endif |