kernel_optimize_test/arch/x86/power
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
..
cpu.c x86/cpu: Load microcode during restore_processor_state() 2022-05-09 09:05:07 +02:00
hibernate_32.c
hibernate_64.c
hibernate_asm_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
hibernate_asm_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
hibernate.c
Makefile