summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/swsusp.c
diff options
context:
space:
mode:
authorTobin C. Harding2017-03-06 09:25:31 +0100
committerMichael Ellerman2017-03-20 09:02:49 +0100
commit1fc439c81312cd27aed553964c0d9d48946582ce (patch)
tree9e5d2dfaf19c133ebbfea672fc5f0baa4623afc3 /arch/powerpc/kernel/swsusp.c
parentpowerpc/pseries: Move struct hcall_stats to hvCall_inst.c (diff)
downloadkernel-qcow2-linux-1fc439c81312cd27aed553964c0d9d48946582ce.tar.gz
kernel-qcow2-linux-1fc439c81312cd27aed553964c0d9d48946582ce.tar.xz
kernel-qcow2-linux-1fc439c81312cd27aed553964c0d9d48946582ce.zip
powerpc/swsusp: Include suspend.h to silence sparse warnings
Sparse emits two symbol not declared warnings for swsusp.c. The two functions, save_processor_state() and restore_processor_state() are declared already in suspend.h, so include it. Signed-off-by: Tobin C. Harding <me@tobin.cc> Reviewed-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/swsusp.c')
-rw-r--r--arch/powerpc/kernel/swsusp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c
index 6ae9bd5086a4..0050b2d2ff7a 100644
--- a/arch/powerpc/kernel/swsusp.c
+++ b/arch/powerpc/kernel/swsusp.c
@@ -10,6 +10,7 @@
*/
#include <linux/sched.h>
+#include <linux/suspend.h>
#include <asm/current.h>
#include <asm/mmu_context.h>
#include <asm/switch_to.h>