x86/asm: Provide a Kconfig symbol for disabling old assembly annotations
authorMark Brown <broonie@kernel.org>
Thu, 16 Apr 2020 18:24:02 +0000 (19:24 +0100)
committerBorislav Petkov <bp@suse.de>
Sat, 18 Apr 2020 15:43:09 +0000 (17:43 +0200)
commit2ce0d7f9766f0e49bb54f149c77bae89464932fb
tree2cfca9e228aaad735fc759fbbefd84209f3f2011
parent593309423cbad0fab659a685834416cf12d8f581
x86/asm: Provide a Kconfig symbol for disabling old assembly annotations

As x86 was converted to use the modern SYM_ annotations for assembly,
ifdefs were added to remove the generic definitions of the old style
annotations on x86. Rather than collect a list of architectures in the
ifdefs as more architectures are converted over, provide a Kconfig
symbol for this and update x86 to use it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lkml.kernel.org/r/20200416182402.6206-1-broonie@kernel.org
arch/x86/Kconfig
include/linux/linkage.h
lib/Kconfig