Skip to content

Commit b5d8940

Browse files
committed
parisc: sys_parisc: parisc_personality() is called from asm code
Signed-off-by: Helge Deller <[email protected]>
1 parent 8829428 commit b5d8940

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/parisc/kernel/sys_parisc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <linux/personality.h>
2525
#include <linux/random.h>
2626
#include <linux/compat.h>
27+
#include <linux/elf-randomize.h>
2728

2829
/*
2930
* 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,
339340
((u64)lenhi << 32) | lenlo);
340341
}
341342

342-
long parisc_personality(unsigned long personality)
343+
asmlinkage long parisc_personality(unsigned long personality)
343344
{
344345
long err;
345346

0 commit comments

Comments
 (0)