diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-10 15:40:15 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-14 01:41:53 +0100 |
commit | 366bb35a8e48198cefcd3484ac6b2374d1347873 (patch) | |
tree | c2997ee229513d6efcafed6c2968e285a93dd539 /arch/loongarch/kernel/smp.c | |
parent | LoongArch: Add processing ISA Node in DeviceTree (diff) | |
download | linux-366bb35a8e48198cefcd3484ac6b2374d1347873.tar.xz linux-366bb35a8e48198cefcd3484ac6b2374d1347873.zip |
LoongArch: Add suspend (ACPI S3) support
Add suspend (Suspend To RAM, aka ACPI S3) support for LoongArch.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/smp.c')
-rw-r--r-- | arch/loongarch/kernel/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/smp.c b/arch/loongarch/kernel/smp.c index b78816cf74ae..8c6e227cb29d 100644 --- a/arch/loongarch/kernel/smp.c +++ b/arch/loongarch/kernel/smp.c @@ -16,6 +16,7 @@ #include <linux/smp.h> #include <linux/threads.h> #include <linux/export.h> +#include <linux/syscore_ops.h> #include <linux/time.h> #include <linux/tracepoint.h> #include <linux/sched/hotplug.h> |