Add missing HIBERNATION configuration and fix missing comment by mainline.
Fixes :
ae555bcd50e1 ("RISC-V: Add arch functions to support hibernation/suspend-to-disk")
[https://lore.kernel.org/all/
20230330064321.1008373-1-jeeheng.sia@starfivetech.com/]
Change-Id: I505e3cd130ffe0ed2e79f137b8b40e5b046063db
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
select CLONE_BACKWARDS
select CLINT_TIMER if !MMU
select COMMON_CLK
- select CPU_PM if CPU_IDLE
+ select CPU_PM if CPU_IDLE || HIBERNATION
select EDAC_SUPPORT
select GENERIC_ARCH_TOPOLOGY
select GENERIC_ATOMIC64 if !64BIT
/**
* struct arch_hibernate_hdr_invariants - container to store kernel build version.
- * @uts_version: to save the build number and date so that the we do not resume with
+ * @uts_version: to save the build number and date so that we do not resume with
* a different kernel.
*/
struct arch_hibernate_hdr_invariants {