This macro is no longer used after the recent changes to binfmt_elf.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- fs/compat_binfmt_elf.c | 3 --- include/linux/elf.h | 1 - 2 files changed, 4 deletions(-)
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c index 6f108d3e1278..3a7fe15cebd9 100644 --- a/fs/compat_binfmt_elf.c +++ b/fs/compat_binfmt_elf.c @@ -26,9 +26,6 @@ #undef elf_stack_item_t #define elf_stack_item_t elf_addr_t
-#undef elf_uaddr_to_user_ptr -#define elf_uaddr_to_user_ptr(addr) addr - #undef elf_copy_to_user_stack #define elf_copy_to_user_stack(to, from, len) copy_to_user(to, from, len)
diff --git a/include/linux/elf.h b/include/linux/elf.h index abfa9b96259b..f998627b6642 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h @@ -65,7 +65,6 @@ extern Elf64_Dyn _DYNAMIC []; #endif
#define elf_stack_item_t user_uintptr_t -#define elf_uaddr_to_user_ptr(addr) uaddr_to_user_ptr_safe(addr) #define elf_copy_to_user_stack(to, from, len) copy_to_user_with_ptr(to, from, len) #define elf_stack_put_user(val, ptr) put_user_ptr((user_uintptr_t)(val), (ptr))