1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * linux/arch/unicore32/include/asm/suspend.h 4 * 5 * Code specific to PKUnity SoC and UniCore ISA 6 * 7 * Copyright (C) 2001-2010 GUAN Xue-tao 8 */ 9 10 #ifndef __UNICORE_SUSPEND_H__ 11 #define __UNICORE_SUSPEND_H__ 12 13 #ifndef __ASSEMBLY__ 14 15 #include <asm/ptrace.h> 16 17 struct swsusp_arch_regs { 18 struct cpu_context_save cpu_context; /* cpu context */ 19 #ifdef CONFIG_UNICORE_FPU_F64 20 struct fp_state fpstate __attribute__((aligned(8))); 21 #endif 22 }; 23 #endif 24 25 #endif /* __UNICORE_SUSPEND_H__ */ 26 27