parisc: sys_parisc: parisc_personality() is called from asm code

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2023-06-30 12:36:09 +02:00
parent 8829428c16
commit b5d89408b9
1 changed files with 2 additions and 1 deletions

View File

@ -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;