summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorDaniel Axtens2016-05-18 03:16:51 +0200
committerMichael Ellerman2016-06-16 14:40:19 +0200
commit665e87ffe1c400c525c3a4cd6fcb5db75972fadd (patch)
treec95e6b8943a647dc811fbe059924b6d3dc5e7b73 /arch/powerpc/kernel/smp.c
parentpowerpc: Introduce asm-prototypes.h (diff)
downloadkernel-qcow2-linux-665e87ffe1c400c525c3a4cd6fcb5db75972fadd.tar.gz
kernel-qcow2-linux-665e87ffe1c400c525c3a4cd6fcb5db75972fadd.tar.xz
kernel-qcow2-linux-665e87ffe1c400c525c3a4cd6fcb5db75972fadd.zip
powerpc/sparse: Include headers containing prototypes
Sometimes headers that provide prototypes for functions are accidentally omitted from the files that define the functions. Fix a couple of times that occurs. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index f1adc3c4f4ca..1b55c7864291 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -31,6 +31,7 @@
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/topology.h>
+#include <linux/profile.h>
#include <asm/ptrace.h>
#include <linux/atomic.h>