Commit 6843d8aa authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Ungerer
Browse files

binfmt_flat: remove the persistent argument from flat_get_addr_from_rp



The argument is never used.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent 7a8998c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#include <asm/unaligned.h>

static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
					u32 *addr, u32 *persistent)
					u32 *addr)
{
	*addr = get_unaligned((__force u32 *)rp);
	return 0;
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

#define	flat_get_relocate_addr(rel)		(rel & ~0x00000001)
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
					u32 *addr, u32 *persistent)
					u32 *addr)
{
	u32 val = get_unaligned((__force u32 *)rp);
	if (!(flags & FLAT_FLAG_GOTPIC))
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
 */

static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
					u32 *addr, u32 *persistent)
					u32 *addr)
{
	u32 *p = (__force u32 *)rp;

+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#include <asm/unaligned.h>

static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
					u32 *addr, u32 *persistent)
					u32 *addr)
{
	*addr = get_unaligned((__force u32 *)rp);
	return 0;
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#include <asm/unaligned.h>

static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
					u32 *addr, u32 *persistent)
					u32 *addr)
{
	*addr = get_unaligned((__force u32 *)rp);
	return 0;
Loading