[PATCH 3/4] x86: remove orphan ia32_setup_arg_pages() declaration

Gaosheng Cui posted 4 patches 3 years, 6 months ago
[PATCH 3/4] x86: remove orphan ia32_setup_arg_pages() declaration
Posted by Gaosheng Cui 3 years, 6 months ago
The ia32_setup_arg_pages() has been removed by
commit b6a2fea39318 ("mm: variable length argument support"),
so remove the orphan declaration.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/x86/include/asm/ia32.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h
index fada857f0a1e..32e51ca35c0a 100644
--- a/arch/x86/include/asm/ia32.h
+++ b/arch/x86/include/asm/ia32.h
@@ -61,8 +61,6 @@ struct stat64 {
 
 #ifdef __KERNEL__
 struct linux_binprm;
-extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
-				unsigned long stack_top, int exec_stack);
 struct mm_struct;
 extern void ia32_pick_mmap_layout(struct mm_struct *mm);
 
-- 
2.25.1