aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-13 03:08:51 -0400
committerGreg Ungerer <gerg@kernel.org>2019-06-23 19:16:46 -0400
commitbdd15a288492f2f496a904c69c4b332057ae2ef6 (patch)
tree453e2a0303f4ff9c2b8381a413fe9285a56472d5 /arch/sh/include
parent1d52dca117434eca9c6efc9c22d24e7a341ad903 (diff)
binfmt_flat: replace flat_argvp_envp_on_stack with a Kconfig variable
This will eventually allow us to kill the need for an <asm/flat.h> for many cases. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/flat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/flat.h b/arch/sh/include/asm/flat.h
index 015678d7b771..1002343dd84a 100644
--- a/arch/sh/include/asm/flat.h
+++ b/arch/sh/include/asm/flat.h
@@ -11,7 +11,6 @@
11 11
12#include <asm/unaligned.h> 12#include <asm/unaligned.h>
13 13
14#define flat_argvp_envp_on_stack() 0
15static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, 14static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
16 u32 *addr, u32 *persistent) 15 u32 *addr, u32 *persistent)
17{ 16{