[PATCH 3/4] x86: remove orphan ia32_setup_arg_pages() declaration
From: Gaosheng Cui
Date: Mon Sep 19 2022 - 22:07:38 EST
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@xxxxxxxxxx>
---
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