mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
parisc: sys_parisc: parisc_personality() is called from asm code
commit b5d89408b9 upstream.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user