diff options
author | Helge Deller <deller@gmx.de> | 2023-06-30 13:36:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-02 10:16:19 +0300 |
commit | fff21bc26bbdd39c09e48828c548a1f1eb0cf530 (patch) | |
tree | 47e6d053ef166def51670b6a1b65058a231e0eef /arch | |
parent | e8ac4be717015978636ada1e985e6cc15b8a65c8 (diff) | |
download | linux-fff21bc26bbdd39c09e48828c548a1f1eb0cf530.tar.xz |
parisc: sys_parisc: parisc_personality() is called from asm code
commit b5d89408b9fb21258f7c371d6d48a674f60f7181 upstream.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/sys_parisc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c index 39acccabf2ed..9915062d5243 100644 --- a/arch/parisc/kernel/sys_parisc.c +++ b/arch/parisc/kernel/sys_parisc.c @@ -24,6 +24,7 @@ #include <linux/personality.h> #include <linux/random.h> #include <linux/compat.h> +#include <linux/elf-randomize.h> /* * Construct an artificial page offset for the mapping based on the physical @@ -339,7 +340,7 @@ asmlinkage long parisc_fallocate(int fd, int mode, u32 offhi, u32 offlo, ((u64)lenhi << 32) | lenlo); } -long parisc_personality(unsigned long personality) +asmlinkage long parisc_personality(unsigned long personality) { long err; |