summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/suspend.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/suspend.h')
-rw-r--r--arch/riscv/include/asm/suspend.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/suspend.h b/arch/riscv/include/asm/suspend.h
index 4718096fa5e3..dc5782b5fbad 100644
--- a/arch/riscv/include/asm/suspend.h
+++ b/arch/riscv/include/asm/suspend.h
@@ -13,12 +13,15 @@ struct suspend_context {
/* Saved and restored by low-level functions */
struct pt_regs regs;
/* Saved and restored by high-level functions */
- unsigned long scratch;
unsigned long envcfg;
unsigned long tvec;
unsigned long ie;
#ifdef CONFIG_MMU
unsigned long satp;
+ unsigned long stimecmp;
+#if __riscv_xlen < 64
+ unsigned long stimecmph;
+#endif
#endif
};