kernel_optimize_test/arch/x86/um
Peter Zijlstra 3c91e22576 x86: Prepare asm files for straight-line-speculation
commit f94909ceb1ed4bfdb2ada72f93236305e6d6951f upstream.

Replace all ret/retq instructions with RET in preparation of making
RET a macro. Since AS is case insensitive it's a big no-op without
RET defined.

  find arch/x86/ -name \*.S | while read file
  do
	sed -i 's/\<ret[q]*\>/RET/' $file
  done

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211204134907.905503893@infradead.org
[bwh: Backported to 5.10: ran the above command]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-25 11:26:28 +02:00
..
asm saner calling conventions for csum_and_copy_..._user() 2020-08-20 15:45:15 -04:00
os-Linux
shared/sysdep um: Cleanup syscall_handler_t definition/cast, fix warning 2022-05-25 09:17:52 +02:00
vdso kbuild: remove cc-option test of -fno-stack-protector 2020-07-07 11:13:10 +09:00
bugs_32.c
bugs_64.c
checksum_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
delay.c
elfcore.c
fault.c
Kconfig
ldt.c um: Fix out-of-bounds read in LDT setup 2022-06-09 10:21:26 +02:00
Makefile
mem_32.c
mem_64.c
ptrace_32.c
ptrace_64.c um: Remove dead usage of TIF_IA32 2020-10-11 23:19:36 +02:00
ptrace_user.c
setjmp_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
setjmp_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
signal.c
stub_32.S
stub_64.S
stub_segv.c arch/um: partially revert the conversion to __section() macro 2020-10-26 15:39:37 -07:00
sys_call_table_32.c
sys_call_table_64.c
syscalls_32.c
syscalls_64.c um: registers: Rename function names to avoid conflicts and build problems 2022-01-27 10:54:18 +01:00
sysrq_32.c
sysrq_64.c
tls_32.c
tls_64.c
user-offsets.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00