Skip to content

Commit 52b2c10

Browse files
YueHaibingbp3tk0v
authored andcommitted
x86/32: Remove unused IA32_STACK_TOP and two externs
Since 32974ad ("[IA64] Remove COMPAT_IA32 support") IA32_STACK_TOP and ia32_setup_arg_pages() are not used anymore. And 675a081 ("x86: unify mmap_{32|64}.c") left behind ia32_pick_mmap_layout() extern declaration. Remove them all. [ bp: Massage commit message. ] Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c3262d3 commit 52b2c10

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

arch/x86/include/asm/ia32.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@ struct stat64 {
5656
unsigned long long st_ino;
5757
} __attribute__((packed));
5858

59-
#define IA32_STACK_TOP IA32_PAGE_OFFSET
60-
61-
#ifdef __KERNEL__
62-
struct linux_binprm;
63-
extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
64-
unsigned long stack_top, int exec_stack);
65-
struct mm_struct;
66-
extern void ia32_pick_mmap_layout(struct mm_struct *mm);
67-
68-
#endif
69-
7059
extern bool __ia32_enabled;
7160

7261
static __always_inline bool ia32_enabled(void)

0 commit comments

Comments
 (0)