summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-06-30 12:36:09 +0200
committerHelge Deller <deller@gmx.de>2023-06-30 17:14:15 +0200
commitb5d89408b9fb21258f7c371d6d48a674f60f7181 (patch)
tree9d6e9dcbf871cf374df35f20e2fb4efd58fd53ec /arch/parisc
parent8829428c1680c1ed7313be43b248d99d7123ed48 (diff)
downloadlinux-stable-b5d89408b9fb21258f7c371d6d48a674f60f7181.tar.gz
linux-stable-b5d89408b9fb21258f7c371d6d48a674f60f7181.tar.bz2
linux-stable-b5d89408b9fb21258f7c371d6d48a674f60f7181.zip
parisc: sys_parisc: parisc_personality() is called from asm code
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/sys_parisc.c3
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;