summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/oprofile
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-20 08:55:19 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 23:14:42 +1000
commit1217d34b531c76362217057ca70a8ce8950574e0 (patch)
treeb8b0ef3401e3814596e05fb80edc7e20caa7ca96 /arch/powerpc/oprofile
parente51df2c170efaeadce4d416e1825b0830de0a795 (diff)
downloadop-kernel-dev-1217d34b531c76362217057ca70a8ce8950574e0.zip
op-kernel-dev-1217d34b531c76362217057ca70a8ce8950574e0.tar.gz
powerpc: Ensure global functions include their prototype
Fix a number of places where global functions were not including their prototype. This ensures the prototype and the function match. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/oprofile')
-rw-r--r--arch/powerpc/oprofile/backtrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/oprofile/backtrace.c b/arch/powerpc/oprofile/backtrace.c
index f75301f..6adf55f 100644
--- a/arch/powerpc/oprofile/backtrace.c
+++ b/arch/powerpc/oprofile/backtrace.c
@@ -12,6 +12,7 @@
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/compat.h>
+#include <asm/oprofile_impl.h>
#define STACK_SP(STACK) *(STACK)
OpenPOWER on IntegriCloud