linux-stable/arch/x86
Uros Bizjak 28fabbbd5a locking/arch: Avoid variable shadowing in local_try_cmpxchg()
[ Upstream commit d6b45484c1 ]

Several architectures define arch_try_local_cmpxchg macro using
internal temporary variables named ___old, __old or _old. Remove
temporary varible in local_try_cmpxchg to avoid variable shadowing.

No functional change intended.

Fixes: d994f2c8e2 ("locking/arch: Wire up local_try_cmpxchg()")
Closes: https://lore.kernel.org/lkml/CAFGhKbyxtuk=LoW-E3yLXgcmR93m+Dfo5-u9oQA_YC5Fcy_t9g@mail.gmail.com/
Reported-by: Charlemagne Lasse <charlemagnelasse@gmail.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20230708090048.63046-1-ubizjak@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:47:57 +02:00
..
boot x86/sev: Do not try to parse for the CC blob on non-AMD hardware 2023-08-16 18:32:22 +02:00
coco x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad() 2023-07-19 16:35:14 +02:00
configs
crypto This push fixes an alignment crash in x86/aria. 2023-05-29 07:05:49 -04:00
entry x86/mm: Fix VDSO and VVAR placement on 5-level paging machines 2023-08-16 18:32:22 +02:00
events perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR 2023-07-23 13:54:10 +02:00
hyperv x86/hyperv: add noop functions to x86_init mpparse functions 2023-09-13 09:47:53 +02:00
ia32
include locking/arch: Avoid variable shadowing in local_try_cmpxchg() 2023-09-13 09:47:57 +02:00
kernel x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4 2023-08-30 14:52:37 +02:00
kvm KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages 2023-09-13 09:47:56 +02:00
lib x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG 2023-08-23 17:32:41 +02:00
math-emu
mm x86/mm: Allow guest.enc_status_change_prepare() to fail 2023-07-19 16:35:14 +02:00
net bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable. 2023-06-12 16:47:18 +02:00
pci xen: branch for v6.4-rc4 2023-05-27 09:42:56 -07:00
platform x86/efi: Make efi_set_virtual_address_map IBT safe 2023-07-19 16:36:25 +02:00
power x86/cpu: Mark {hlt,resume}_play_dead() __noreturn 2023-04-14 17:31:27 +02:00
purgatory x86/purgatory: remove PGO flags 2023-06-12 11:31:50 -07:00
ras
realmode
tools ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
um um: make stub data pages size tweakable 2023-04-20 23:08:43 +02:00
video
virt/vmx/tdx
xen x86/xen: Fix secondary processors' FPU initialization 2023-08-08 20:04:51 +02:00
.gitignore
Kbuild
Kconfig x86/srso: Add a Speculative RAS Overflow mitigation 2023-08-08 20:04:51 +02:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug
Makefile x86/unwind/orc: Add ELF section with ORC version identifier 2023-06-16 17:17:42 +02:00
Makefile.um
Makefile_32.cpu