Skip to content

Commit dbd7cf4

Browse files
t-8chjmberg-intel
authored andcommitted
x86/um: Drop gate area handling
With the removal of the vDSO passthrough from the host, FIXADDR_USER_START is always 0 and the gate area setup code is dead. Remove it. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20251028-uml-remove-32bit-pseudo-vdso-v1-5-e930063eff5f@weissschuh.net Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 70d5269 commit dbd7cf4

3 files changed

Lines changed: 2 additions & 56 deletions

File tree

arch/um/include/asm/page.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,4 @@ extern unsigned long uml_physmem;
9696

9797
#endif /* __ASSEMBLER__ */
9898

99-
#ifdef CONFIG_X86_32
100-
#define __HAVE_ARCH_GATE_AREA 1
101-
#endif
102-
10399
#endif /* __UM_PAGE_H */

arch/x86/um/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ obj-y = bugs_$(BITS).o delay.o fault.o \
1313
ptrace.o ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
1414
stub_segv.o \
1515
sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
16-
mem_$(BITS).o subarch.o os-Linux/
16+
subarch.o os-Linux/
1717

1818
ifeq ($(CONFIG_X86_32),y)
1919

@@ -26,7 +26,7 @@ subarch-y += ../kernel/sys_ia32.o
2626

2727
else
2828

29-
obj-y += syscalls_64.o vdso/
29+
obj-y += mem_64.o syscalls_64.o vdso/
3030

3131
subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o \
3232
../lib/memmove_64.o ../lib/memset_64.o

arch/x86/um/mem_32.c

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)