projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8829428
)
parisc: sys_parisc: parisc_personality() is called from asm code
author
Helge Deller
<deller@gmx.de>
Fri, 30 Jun 2023 10:36:09 +0000
(12:36 +0200)
committer
Helge Deller
<deller@gmx.de>
Fri, 30 Jun 2023 15:14:15 +0000
(17:14 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/sys_parisc.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/sys_parisc.c
b/arch/parisc/kernel/sys_parisc.c
index 39acccabf2eded8a148fe9fbd95332c614515f66..9915062d5243c38776dcb2296faa9165e32d55bd 100644
(file)
--- 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;