Skip to content

Commit

Permalink
parisc: sys_parisc: parisc_personality() is called from asm code
Browse files Browse the repository at this point in the history
commit b5d8940 upstream.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Helge Deller authored and Greg Kroah-Hartman committed Sep 2, 2023
1 parent e8ac4be commit fff21bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/parisc/kernel/sys_parisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit fff21bc

Please sign in to comment.