linux-yocto/arch/x86
Jan Beulich 27b32b2c7b compiler: remove __ADDRESSABLE_ASM{_STR,}() again
[ Upstream commit 8ea815399c3fcce1889bd951fec25b5b9a3979c1 ]

__ADDRESSABLE_ASM_STR() is where the necessary stringification happens.
As long as "sym" doesn't contain any odd characters, no quoting is
required for its use with .quad / .long. In fact the quotation gets in
the way with gas 2.25; it's only from 2.26 onwards that quoted symbols
are half-way properly supported.

However, assembly being different from C anyway, drop
__ADDRESSABLE_ASM_STR() and its helper macro altogether. A simple
.global directive will suffice to get the symbol "declared", i.e. into
the symbol table. While there also stop open-coding STATIC_CALL_TRAMP()
and STATIC_CALL_KEY().

Fixes: 0ef8047b73 ("x86/static-call: provide a way to do very early static-call updates")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <609d2c74-de13-4fae-ab1a-1ec44afb948d@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:22:58 +02:00
..
boot x86/boot/compressed: prefer cc-option for CFLAGS additions 2025-06-27 11:04:10 +01:00
configs
crypto crypto: x86/aegis128 - access 32-bit arguments as 32-bit 2024-12-14 19:48:08 +01:00
entry x86/bugs: Rename MDS machinery to something more generic 2025-07-17 18:28:00 +02:00
events perf/amd/ibs: Fix perf_ibs_op.cnt_mask for CurCnt 2025-06-04 14:37:06 +02:00
hyperv x86/hyperv: Remove unregister syscore call from Hyper-V cleanup 2023-01-14 10:16:13 +01:00
ia32
include compiler: remove __ADDRESSABLE_ASM{_STR,}() again 2025-08-28 16:22:58 +02:00
kernel x86/mce/amd: Add default names for MCA banks and blocks 2025-08-28 16:22:53 +02:00
kvm KVM: SVM: Advertise TSA CPUID bits to guests 2025-07-17 18:28:01 +02:00
lib x86/its: Add support for ITS-safe return thunk 2025-07-17 18:27:55 +02:00
math-emu x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
mm x86/fpu: Delay instruction pointer fixup until after warning 2025-08-28 16:22:53 +02:00
net x86/its: FineIBT-paranoid vs ITS 2025-07-17 18:27:56 +02:00
oprofile
pci x86/pci/xen: Fix PCIBIOS_* return code handling 2024-08-19 05:40:40 +02:00
platform x86/pvh: Call C code via the kernel virtual mapping 2025-05-02 07:41:05 +02:00
power x86/stackprotector/32: Make the canary into a regular percpu variable 2024-04-13 12:58:45 +02:00
purgatory x86/purgatory: Switch to the position-independent small code model 2024-06-16 13:32:06 +02:00
ras
realmode
tools x86/boot: Ignore relocations in .notes sections in walk_relocs() too 2024-06-16 13:32:03 +02:00
um um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h 2025-07-17 18:27:37 +02:00
video
xen Grab mm lock before grabbing pt lock 2025-03-13 12:47:15 +01:00
.gitignore
Kbuild
Kconfig x86/bugs: Add a Transient Scheduler Attacks mitigation 2025-07-17 18:28:00 +02:00
Kconfig.assembler
Kconfig.cpu x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6 2024-02-23 08:42:28 +01:00
Kconfig.debug x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y 2024-06-16 13:32:26 +02:00
Makefile x86/stackprotector/32: Make the canary into a regular percpu variable 2024-04-13 12:58:45 +02:00
Makefile_32.cpu
Makefile.um um: allow not setting extra rpaths in the linux binary 2024-03-15 10:48:18 -04:00