mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
binfmt_flat: remove flat_reloc_valid
This helper is the same for all architectures, open code it in the only caller. Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Vladimir Murzin <[email protected]> Reviewed-by: Vladimir Murzin <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
This commit is contained in:
parent
4b972a01a7
commit
9ee24b2a38
8 changed files with 1 additions and 8 deletions
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#define flat_argvp_envp_on_stack() 0
|
||||
#define flat_old_ram_flag(flags) (flags)
|
||||
#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
|
||||
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
|
||||
u32 *addr, u32 *persistent)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue