diff options
author | Daniel Axtens <dja@axtens.net> | 2016-01-06 03:45:51 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-12 14:05:19 +0300 |
commit | 7f92bc5694557dee4cefa90df27feec16c7b62da (patch) | |
tree | 04036fff4ed67ced269d59c4e34ce35c98265d9f /arch/powerpc/mm/mmap.c | |
parent | 635218c785bef355bc8266a1fdb28f38cdca365d (diff) | |
download | linux-7f92bc5694557dee4cefa90df27feec16c7b62da.tar.xz |
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/mm/mmap.c')
-rw-r--r-- | arch/powerpc/mm/mmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/mmap.c b/arch/powerpc/mm/mmap.c index 4087705ba90f..30611f832923 100644 --- a/arch/powerpc/mm/mmap.c +++ b/arch/powerpc/mm/mmap.c @@ -26,6 +26,7 @@ #include <linux/mm.h> #include <linux/random.h> #include <linux/sched.h> +#include <linux/elf-randomize.h> /* * Top of mmap area (just below the process stack). |