mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
binfmt_flat: remove the persistent argument from flat_get_addr_from_rp
The argument is never used. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
This commit is contained in:
committed by
Greg Ungerer
parent
7a8998c9d8
commit
6843d8aa5b
@@ -5,7 +5,7 @@
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
|
||||
u32 *addr, u32 *persistent)
|
||||
u32 *addr)
|
||||
{
|
||||
#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
|
||||
return copy_from_user(addr, rp, 4) ? -EFAULT : 0;
|
||||
|
||||
Reference in New Issue
Block a user