WSL2-Linux-Kernel/arch/arm64/include/asm
Andre Przywara 878a84d5a8 arm64: add missing data types in smp_load_acquire/smp_store_release
Commit 8053871d0f ("smp: Fix smp_call_function_single_async()
locking") introduced a call to smp_load_acquire() with a u16 argument,
but we only cared about u32 and u64 types in that function so far.
This resulted in a compiler warning fortunately, pointing at an
uninitialized use. Due to the implementation structure the compiler
misses that bug in the smp_store_release(), though.
Add the u16 and u8 variants using ldarh/stlrh and ldarb/stlrb,
respectively. Together with the compiletime_assert_atomic_type() check
this should cover all cases now.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-04-27 11:39:04 +01:00
..
xen
Kbuild
acenv.h ARM64 / ACPI: Get RSDP and ACPI boot-time tables 2015-03-25 11:49:30 +00:00
acpi.h ARM64: kernel: acpi: honour acpi=force command line parameter 2015-03-26 15:13:11 +00:00
alternative-asm.h
alternative.h
arch_timer.h
arm-cci.h arm-cci: Get rid of secure transactions for PMU driver 2015-03-27 13:44:35 +00:00
asm-offsets.h
assembler.h arm64: add macros for common adrp usages 2015-03-19 19:46:01 +00:00
atomic.h
barrier.h arm64: add missing data types in smp_load_acquire/smp_store_release 2015-04-27 11:39:04 +01:00
bitops.h
bitrev.h
cache.h
cacheflush.h
cachetype.h
cmpxchg.h arm64: percpu: Make this_cpu accessors pre-empt safe 2015-03-24 18:02:55 +00:00
compat.h
compiler.h
cpu.h
cpu_ops.h ARM64 / ACPI: Parse MADT for SMP initialization 2015-03-25 11:52:42 +00:00
cpufeature.h arm64: errata: add workaround for cortex-a53 erratum #845719 2015-04-01 10:24:31 +01:00
cpuidle.h ARM64: cpuidle: Rename cpu_init_idle to a common function name 2015-03-24 10:16:09 +01:00
cputype.h
debug-monitors.h
device.h
dma-mapping.h arm64: Use bool function return values of true/false not 1/0 2015-03-31 16:28:44 +01:00
dmi.h
efi.h
elf.h mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZE 2015-04-14 16:49:05 -07:00
esr.h arm/arm64: KVM: Implement Stage-2 page aging 2015-03-12 22:34:43 +01:00
exception.h
exec.h
fb.h
fixmap.h Initial ACPI support for arm64: 2015-04-24 08:23:45 -07:00
fpsimd.h
fpsimdmacros.h
ftrace.h
futex.h
hardirq.h
hugetlb.h
hw_breakpoint.h
hwcap.h
hypervisor.h
insn.h arm64: insn: Add aarch64_insn_decode_immediate 2015-03-30 11:03:42 +01:00
io.h
irq.h irqchip: Add GICv2 specific ACPI boot support 2015-03-26 15:13:07 +00:00
irq_work.h
irqflags.h
jump_label.h jump_label: Allow asm/jump_label.h to be included in assembly 2015-04-09 09:40:23 +02:00
kgdb.h
kvm_arm.h KVM/ARM changes for v4.1: 2015-04-07 18:09:20 +02:00
kvm_asm.h
kvm_coproc.h
kvm_emulate.h Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
kvm_host.h arm/arm64: KVM: Implement Stage-2 page aging 2015-03-12 22:34:43 +01:00
kvm_mmio.h KVM: arm/arm64: rework MMIO abort handling to use KVM MMIO bus 2015-03-30 17:07:19 +01:00
kvm_mmu.h arm64 updates for 4.1: 2015-04-16 13:58:29 -05:00
kvm_psci.h
linkage.h
memblock.h
memory.h
mmu.h
mmu_context.h arm64 updates for 4.1: 2015-04-16 13:58:29 -05:00
module.h
neon.h
opcodes.h
page.h arm64 updates for 4.1: 2015-04-16 13:58:29 -05:00
pci.h ARM64 / ACPI: Introduce PCI stub functions for ACPI 2015-03-25 11:49:31 +00:00
percpu.h arm64: percpu: Make this_cpu accessors pre-empt safe 2015-03-24 18:02:55 +00:00
perf_event.h
pgalloc.h arm64: expose number of page table levels on Kconfig level 2015-04-14 16:49:01 -07:00
pgtable-hwdef.h arm64 updates for 4.1: 2015-04-16 13:58:29 -05:00
pgtable-types.h arm64: expose number of page table levels on Kconfig level 2015-04-14 16:49:01 -07:00
pgtable.h arm64: expose number of page table levels on Kconfig level 2015-04-14 16:49:01 -07:00
pmu.h arm64: pmu: add support for interrupt-affinity property 2015-03-24 15:09:47 +00:00
proc-fns.h arm64 updates for 4.1: 2015-04-16 13:58:29 -05:00
processor.h arm64: Implement cpu_relax as yield 2015-03-17 10:17:29 +00:00
psci.h ARM64 / ACPI: Get PSCI flags in FADT for PSCI init 2015-03-25 11:49:31 +00:00
ptrace.h
seccomp.h
shmparam.h
signal32.h
smp.h ARM64 / ACPI: Parse MADT for SMP initialization 2015-03-25 11:52:42 +00:00
smp_plat.h arm64: apply alternatives for !SMP kernels 2015-03-17 16:58:24 +00:00
sparsemem.h
spinlock.h
spinlock_types.h
stackprotector.h
stacktrace.h
stat.h
string.h
suspend.h
sync_bitops.h
syscall.h
sysreg.h
system_misc.h
thread_info.h arm64: Remove signal translation and exec_domain 2015-04-12 20:58:24 +02:00
timex.h
tlb.h arm64: expose number of page table levels on Kconfig level 2015-04-14 16:49:01 -07:00
tlbflush.h arm64: Invalidate the TLB corresponding to intermediate page table levels 2015-03-14 10:48:30 +00:00
topology.h
traps.h
uaccess.h
unistd.h
unistd32.h arm64: fix implementation of mmap2 compat syscall 2015-03-19 10:43:51 +00:00
vdso.h
vdso_datapage.h
virt.h
word-at-a-time.h