projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3262d3
)
x86/32: Remove unused IA32_STACK_TOP and two externs
author
YueHaibing
<yuehaibing@huawei.com>
Sun, 25 Jun 2023 12:54:11 +0000
(20:54 +0800)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Tue, 2 Apr 2024 13:01:40 +0000
(15:01 +0200)
Since
32974ad4907c
("[IA64] Remove COMPAT_IA32 support")
IA32_STACK_TOP and ia32_setup_arg_pages() are not used anymore.
And
675a0813609f
("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 <yuehaibing@huawei.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link:
https://lore.kernel.org/r/20230625125411.25840-1-yuehaibing@huawei.com
arch/x86/include/asm/ia32.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/ia32.h
b/arch/x86/include/asm/ia32.h
index 4212c00c9708d49253d8ebe3699578f14476408a..9d69f3f8dbabc8c5f8c7e4d8713b4b1db507be7c 100644
(file)
--- a/
arch/x86/include/asm/ia32.h
+++ b/
arch/x86/include/asm/ia32.h
@@
-56,17
+56,6
@@
struct stat64 {
unsigned long long st_ino;
} __attribute__((packed));
-#define IA32_STACK_TOP IA32_PAGE_OFFSET
-
-#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);
-
-#endif
-
extern bool __ia32_enabled;
static __always_inline bool ia32_enabled(void)