Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: select ARCH_USE_SYM_ANNOTATIONS

All old style assembly annotations have been converted for s390. Select
ARCH_USE_SYM_ANNOTATIONS to make sure the old macros like ENTRY() aren't
available anymore. This prevents that new code which uses the old macros
will be added again.

This follows what has been done for x86 with commit 2ce0d7f9766f ("x86/asm:
Provide a Kconfig symbol for disabling old assembly annotations") and for
arm64 with commit 50479d58eaa3 ("arm64: Disable old style assembly
annotations").

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>

authored by

Heiko Carstens and committed by
Vasily Gorbik
ccf7c3fb 34e4c79f

+1
+1
arch/s390/Kconfig
··· 120 120 select ARCH_SUPPORTS_NUMA_BALANCING 121 121 select ARCH_USE_BUILTIN_BSWAP 122 122 select ARCH_USE_CMPXCHG_LOCKREF 123 + select ARCH_USE_SYM_ANNOTATIONS 123 124 select ARCH_WANTS_DYNAMIC_TASK_STRUCT 124 125 select ARCH_WANTS_NO_INSTR 125 126 select ARCH_WANT_DEFAULT_BPF_JIT