author: Song Shuai <songshuaishuai@tinylab.org> 2023-06-09 15:50:48 +0800
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-07-19 16:36:17 +0200
commit: 764b6d8aa77c4e55439ebbde0a287bb5353f8542
parent: 52fbbd37efe16932b487c1c3a99428491b8f1732
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/arch/riscv/kernel/hibernate.c b/arch/riscv/kernel/hibernate.c
index 264b2dcdd67e..671b686c0158 100644
--- a/arch/riscv/kernel/hibernate.c
+++ b/arch/riscv/kernel/hibernate.c
@@ -80,7 +80,6 @@ int pfn_is_nosave(unsigned long pfn)
void notrace save_processor_state(void)
{
- WARN_ON(num_online_cpus() != 1);
}
void notrace restore_processor_state(void)