kernel-fxtec-pro1x/arch/arm/include/asm/suspend.h
Russell King e8ce0eb5e2 ARM: pm: preallocate a page table for suspend/resume
Preallocate a page table and setup an identity mapping for the MMU
enable code.  This means we don't have to "borrow" a page table to
do this, avoiding complexities with L2 cache coherency.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-09-20 23:33:36 +01:00

7 lines
158 B
C

#ifndef __ASM_ARM_SUSPEND_H
#define __ASM_ARM_SUSPEND_H
extern void cpu_resume(void);
extern int cpu_suspend(unsigned long, int (*)(unsigned long));
#endif