parisc: sys_parisc: parisc_personality() is called from asm code
commit b5d89408b9fb21258f7c371d6d48a674f60f7181 upstream. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e8ac4be717
commit
fff21bc26b
@ -24,6 +24,7 @@
|
|||||||
#include <linux/personality.h>
|
#include <linux/personality.h>
|
||||||
#include <linux/random.h>
|
#include <linux/random.h>
|
||||||
#include <linux/compat.h>
|
#include <linux/compat.h>
|
||||||
|
#include <linux/elf-randomize.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Construct an artificial page offset for the mapping based on the physical
|
* 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);
|
((u64)lenhi << 32) | lenlo);
|
||||||
}
|
}
|
||||||
|
|
||||||
long parisc_personality(unsigned long personality)
|
asmlinkage long parisc_personality(unsigned long personality)
|
||||||
{
|
{
|
||||||
long err;
|
long err;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user