e8ce0eb5e2
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>
7 lines
158 B
C
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
|