1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * Based on arch/arm/include/asm/proc-fns.h 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 1997-1999 Russell King 6*4882a593Smuzhiyun * Copyright (C) 2000 Deep Blue Solutions Ltd 7*4882a593Smuzhiyun * Copyright (C) 2012 ARM Ltd. 8*4882a593Smuzhiyun */ 9*4882a593Smuzhiyun #ifndef __ASM_PROCFNS_H 10*4882a593Smuzhiyun #define __ASM_PROCFNS_H 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun #ifndef __ASSEMBLY__ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun #include <asm/page.h> 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun struct cpu_suspend_ctx; 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun extern void cpu_do_idle(void); 19*4882a593Smuzhiyun extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr); 20*4882a593Smuzhiyun extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr); 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun #include <asm/memory.h> 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #endif /* __ASSEMBLY__ */ 25*4882a593Smuzhiyun #endif /* __ASM_PROCFNS_H */ 26