Loading
sw64: register suspend entry for cpu 0 only
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG -------------------------------- It used to register suspend entry for all of online cpus. Actually, only cpu 0 will be affected by different hardware design. The sleep codes are written in assembly, if all cpus jump to BIOS, it will become more complex, and more difficult to debug. So, only register suspend entry for cpu 0 to make the BIOS code more readable and easier to debug. Signed-off-by:Zhou Xuemei <zhouxuemei@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>