aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/machine_kexec_64.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-05-18 11:16:50 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-16 22:39:54 +1000
commit42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d (patch)
tree1df0e78c7e5ea6c1e91898f854bfa9418d0147a2 /arch/powerpc/kernel/machine_kexec_64.c
parentpowerpc/sparse: make some things static (diff)
downloadlinux-dev-42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d.tar.xz
linux-dev-42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d.zip
powerpc: Introduce asm-prototypes.h
Sparse picked up a number of functions that are implemented in C and then only referred to in asm code. This introduces asm-prototypes.h, which provides a place for prototypes of these functions. This silences some sparse warnings. Signed-off-by: Daniel Axtens <dja@axtens.net> [mpe: Add include guards, clean up copyright & GPL text] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
-rw-r--r--arch/powerpc/kernel/machine_kexec_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c
index b8c202d63ecb..50bf55135ef8 100644
--- a/arch/powerpc/kernel/machine_kexec_64.c
+++ b/arch/powerpc/kernel/machine_kexec_64.c
@@ -29,6 +29,7 @@
#include <asm/prom.h>
#include <asm/smp.h>
#include <asm/hw_breakpoint.h>
+#include <asm/asm-prototypes.h>
#ifdef CONFIG_PPC_BOOK3E
int default_machine_kexec_prepare(struct kimage *image)