linux/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 arm64: fix missing linux/bug.h include in asm/arch_timer.h 2015-01-07 11:40:59 +00:00
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 ARM: 8189/1: arm64:add bitrev.h file to support rbit instruction 2014-12-22 16:47:32 +00:00
cache.h
cacheflush.h arm64: add better page protections to arm64 2015-01-22 14:54:29 +00:00
cachetype.h arm64: kernel: add support for cpu cache information 2015-01-15 11:55:07 +00:00
cmpxchg.h arm64: percpu: Make this_cpu accessors pre-empt safe 2015-03-24 18:02:55 +00:00
compat.h arm64: compat: Remove incorrect comment in compat_siginfo 2015-02-02 16:44:39 +00:00
compiler.h
cpu.h arm64: sanity checks: add missing AArch32 registers 2015-01-07 11:40:58 +00:00
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 arm64: Emulate SETEND for AArch32 tasks 2015-01-23 17:11:44 +00:00
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 arm64/efi: move virtmap init to early initcall 2015-01-22 14:59:25 +00:00
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 arm64: Avoid breakage caused by .altmacro in fpsimd save/restore macros 2015-01-29 17:24:39 +00:00
ftrace.h
futex.h
hardirq.h smp, ARM64: Kill SMP single function call interrupt 2015-01-23 18:06:47 +00:00
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 arm64: Fix overlapping VA allocations 2015-01-23 14:13:14 +00:00
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: arm64: ARMv8 header changes for page logging 2015-01-16 14:42:48 +01:00
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 arm64: Fix overlapping VA allocations 2015-01-23 14:13:14 +00:00
mmu.h arm64/efi: remove idmap manipulations from UEFI code 2015-01-12 16:29:32 +00:00
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 arm64: Emulate SETEND for AArch32 tasks 2015-01-23 17:11:44 +00:00
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 arm64: kernel: remove ARM64_CPU_SUSPEND config option 2015-01-27 11:35:33 +00:00
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 arm64: macro whitespace fixes 2015-01-13 15:23:53 +02:00
unistd.h arm64 updates for 3.20: 2015-02-11 18:03:54 -08:00
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