summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-01-06 11:45:51 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-12 21:05:19 +1000
commit7f92bc5694557dee4cefa90df27feec16c7b62da (patch)
tree04036fff4ed67ced269d59c4e34ce35c98265d9f /arch/powerpc/kernel/process.c
parent635218c785bef355bc8266a1fdb28f38cdca365d (diff)
downloadop-kernel-dev-7f92bc5694557dee4cefa90df27feec16c7b62da.zip
op-kernel-dev-7f92bc5694557dee4cefa90df27feec16c7b62da.tar.gz
powerpc: sparse: Include headers for __weak symbols
Sometimes when sparse warns about undefined symbols, it isn't because they should have 'static' added, it's because they're overriding __weak symbols defined elsewhere, and the header has been missed. Fix a few of them by adding appropriate headers. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index b8500b4..4695088 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -38,6 +38,7 @@
#include <linux/random.h>
#include <linux/hw_breakpoint.h>
#include <linux/uaccess.h>
+#include <linux/elf-randomize.h>
#include <asm/pgtable.h>
#include <asm/io.h>
@@ -55,6 +56,7 @@
#include <asm/firmware.h>
#endif
#include <asm/code-patching.h>
+#include <asm/exec.h>
#include <linux/kprobes.h>
#include <linux/kdebug.h>
OpenPOWER on IntegriCloud