android_kernel_sony_sdm845/arch/arm/include/asm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark Rutland 5e12e2846d UPSTREAM: atomics/arm: Define atomic64_fetch_add_unless()
As a step towards unifying the atomic/atomic64/atomic_long APIs, this
patch converts the arch/arm implementation of atomic64_add_unless() into
an implementation of atomic64_fetch_add_unless().

A wrapper in <linux/atomic.h> will build atomic_add_unless() atop of
this, provided it is given a preprocessor definition.

No functional change is intended as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/lkml/20180621121321.4761-12-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:15 +07:00
..
hardware jtagv8: add jtagv8 snapshot 2018-05-31 14:49:14 +08:00
mach ARM: Make PCI I/O space optional 2016-06-21 10:54:29 -05:00
xen xen: avoid type warning in xchg_xen_ulong 2018-04-13 19:48:25 +02:00
arch_gicv3.h ARM: gic-v3: Add Macro to get high priority interrupt 2018-06-28 01:43:02 -07:00
arch_timer.h arm32: Potential rollover condition for timer counter 2019-08-15 15:48:30 +08:00
arm-cci.h
asm-offsets.h
assembler.h ARM: fix co-processor register typo 2022-03-11 10:03:32 +01:00
atomic.h UPSTREAM: atomics/arm: Define atomic64_fetch_add_unless() 2026-05-15 17:59:15 +07:00
auxvec.h
barrier.h ARM: avoid Cortex-A9 livelock on tight dmb loops 2019-04-05 22:29:13 +02:00
bitops.h ARM: 8417/1: refactor bitops functions with BIT_MASK() and BIT_WORD() 2015-08-18 14:00:30 +01:00
bitrev.h
bL_switcher.h
bug.h ARM: 8455/1: define __BUG as asm(BUG_INSTR) without CONFIG_BUG 2015-12-03 00:02:29 +00:00
bugs.h ARM: bugs: hook processor bug checking into SMP and suspend paths 2018-11-23 08:20:37 +01:00
cache.h
cacheflush.h treewide: Backport new vmalloc for large performance benefits 2026-05-15 17:48:25 +07:00
cachetype.h ARM: 8604/1: V7M: Add support for reading the CTR with read_cpuid_cachetype() 2016-09-06 15:51:07 +01:00
checksum.h ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short 2016-03-13 23:55:13 -04:00
clocksource.h arm/arm64: arch_timer: Use archdata to indicate vdso suitability 2016-09-23 17:19:25 +01:00
cmpxchg.h ARM: 8443/1: Adding support for atomic half word exchange 2015-10-09 16:22:54 +01:00
compiler.h
cp15.h Revert "ARM: vdso: Remove dependency with the arch_timer driver internals" 2020-06-30 02:50:07 +03:00
cpu.h
cpuidle.h ARM: cpuidle: add const qualifier to cpuidle_ops member in structures 2016-04-20 06:59:10 +02:00
cputype.h Merge android-4.9.160 (fd5657a) into msm-4.9 2019-03-21 14:06:06 +08:00
crash_notes.h arm64/dts: somc: Import Tama DTS 2026-05-15 17:48:08 +07:00
cti.h
dcc.h
delay.h ARM: fix delays 2016-10-06 08:45:40 +01:00
device.h dma: fix arguments when calling dma APIs 2017-03-09 07:18:36 -08:00
div64.h ARM: 8504/1: __arch_xprod_64(): small optimization 2016-02-11 15:33:37 +00:00
dma-contiguous.h arm/arm64: fix build when !CONFIG_DMA_CMA 2018-05-10 20:15:20 +05:30
dma-iommu.h arm: dma-mapping: Fix broken iommu attach and detach 2017-12-15 16:20:18 -08:00
dma-mapping.h dma: fix arguments when calling dma APIs 2017-03-09 07:18:36 -08:00
dma.h
domain.h ARM: 8573/1: domain: move {set,get}_domain under config guard 2016-05-05 19:03:02 +01:00
ecard.h
edac.h EDAC: Cleanup atomic_scrub mess 2015-05-28 15:31:53 +02:00
efi.h efi: Convert efi_call_virt() to efi_call_virt_pointer() 2016-06-27 13:06:56 +02:00
elf.h ANDROID: Revert "arm: move ELF_ET_DYN_BASE to 4MB" 2017-12-11 18:33:31 +00:00
entry-macro-multi.S
etmv4x.h jtagv8: add jtagv8 snapshot 2018-05-31 14:49:14 +08:00
exception.h arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00
fb.h
fiq.h
fiq_glue.h ANDROID: ARM: fiq_glue: Add custom fiq return handler api. 2017-01-27 13:51:28 -08:00
firmware.h ARM: EXYNOS: add exynos_get_boot_addr() helper 2015-06-06 02:17:56 +09:00
fixmap.h msm: platsmp: Add smp support for MSM8909 SoC 2018-03-25 02:46:15 -07:00
flat.h ARM: 8594/1: enable binfmt_flat on systems with an MMU 2016-08-12 16:47:05 +01:00
floppy.h ARM: 8584/1: floppy: avoid gcc-6 warning 2016-07-02 11:02:13 +01:00
fncpy.h
fpstate.h
ftrace.h ARM: 9079/1: ftrace: Add MODULE_PLTS support 2021-10-06 10:23:42 +02:00
futex.h ARM: futex: Address build warning 2020-05-27 16:41:50 +02:00
glue-cache.h arm: dma-mapping: add dma mapper for io-pgtable-fast for 32 bit 2017-07-24 04:59:20 -07:00
glue-df.h
glue-pf.h
glue-proc.h
glue.h
gpio.h
hardirq.h ARM: prevent tracing IPI_CPU_BACKTRACE 2019-06-22 08:17:12 +02:00
highmem.h kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
hugetlb-3level.h
hugetlb.h mm/hugetlb: remove arch_prepare/release_hugepage from arch headers 2015-06-25 17:00:35 -07:00
hw_breakpoint.h ARM: hw_breakpoint: Add ARM_DEBUG_ARCH_V8_8 2018-05-25 19:38:17 +08:00
hw_irq.h ARM: Remove ununsed set_irq_flags 2015-09-16 16:53:39 +02:00
hwcap.h
hypervisor.h
ide.h
idmap.h
insn.h ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() 2021-10-06 10:23:42 +02:00
io.h arm: io: add missing readq_no_log(c) 2020-01-09 21:48:03 -08:00
irq.h ARM: 8824/1: fix a migrating irq bug when hotplug cpu 2019-03-23 13:19:42 +01:00
irq_work.h
irqflags.h ARM: 8422/1: enable imprecise aborts during early kernel startup 2015-09-22 08:13:56 +01:00
jump_label.h locking/static_keys: Add a new static_key interface 2015-08-03 11:34:15 +02:00
Kbuild ARM: convert to generated system call tables 2020-04-09 15:21:24 +05:30
kexec.h ARM: kexec: fix kexec for Keystone 2 2016-08-02 19:35:29 -04:00
kgdb.h ARM: 8764/1: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size 2018-07-03 11:23:08 +02:00
kmap_types.h
kprobes.h
kvm_arm.h arm: KVM: Survive unknown traps from guests 2017-12-14 09:28:19 +01:00
kvm_asm.h ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17 2018-11-23 08:20:38 +01:00
kvm_coproc.h KVM: arm: plug potential guest hardware debug leakage 2017-05-25 15:44:44 +02:00
kvm_emulate.h arm: KVM: Add Virtual Abort injection helper 2016-09-08 12:53:00 +02:00
kvm_host.h KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated 2022-04-12 07:52:17 +02:00
kvm_hyp.h arm/arm64: KVM: Perform local TLB invalidation when multiplexing vcpus on a single CPU 2016-11-04 17:56:28 +00:00
kvm_mmio.h KVM: arm/arm64: Export mmio_read/write_bus 2016-05-20 15:39:42 +02:00
kvm_mmu.h ARM: spectre-v2: KVM: invalidate icache on guest exit for Brahma B15 2018-11-23 08:20:38 +01:00
limits.h
linkage.h
mc146818rtc.h
mcpm.h
mcs_spinlock.h
memblock.h
memory.h ARM: 8589/1: asm/memory.h: remove dead definitions 2016-08-12 16:47:02 +01:00
mmu.h
mmu_context.h arm: Add BTB invalidation on switch_mm for Cortex-A73 2018-07-03 18:11:44 +08:00
module.h ARM: 9079/1: ftrace: Add MODULE_PLTS support 2021-10-06 10:23:42 +02:00
mpu.h
mtd-xip.h
mutex.h
neon.h
nwflash.h
opcodes-sec.h
opcodes-virt.h
opcodes.h
outercache.h ARM: move heavy barrier support out of line 2015-07-25 15:28:05 +01:00
page-nommu.h asm-generic: page.h: Remove useless get_user_page and free_user_page 2016-02-26 15:24:55 +01:00
page.h
paravirt.h arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops 2015-12-21 14:40:54 +00:00
patch.h
pci.h PCI: Move pci_dma_* helpers to common code 2016-03-07 10:40:02 -06:00
percpu.h ARM: percpu.h: fix build error 2020-08-21 11:01:52 +02:00
perf_event.h ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels 2022-12-14 11:24:32 +01:00
pgalloc.h arm: get rid of superfluous __GFP_REPEAT 2016-07-26 16:19:19 -07:00
pgtable-2level-hwdef.h ARM: 8612/1: LPAE: initialize cache policy correctly 2016-09-12 12:12:30 +01:00
pgtable-2level-types.h
pgtable-2level.h arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2021-11-12 13:18:01 +01:00
pgtable-3level-hwdef.h ARM: 8612/1: LPAE: initialize cache policy correctly 2016-09-12 12:12:30 +01:00
pgtable-3level-types.h
pgtable-3level.h arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2021-11-12 13:18:01 +01:00
pgtable-hwdef.h
pgtable-nommu.h
pgtable.h - ARM: GICv3 ITS emulation and various fixes. Removal of the old 2016-08-02 16:11:27 -04:00
probes.h
proc-fns.h ARM: spectre-v2: per-CPU vtables to work around big.Little systems 2019-02-20 10:18:27 +01:00
processor.h Merge android-4.9.168 (286f971) into msm-4.9 2019-05-30 13:40:07 +08:00
procinfo.h
prom.h
psci.h ARM: SoC cleanups for v4.5 2016-01-20 17:55:20 -08:00
ptrace.h ARM: save and reset the address limit when entering an exception 2016-07-07 16:01:01 +01:00
sections.h ARM: 8518/1: Use correct symbols for XIP_KERNEL 2016-02-11 15:43:14 +00:00
set_memory.h treewide: Backport new vmalloc for large performance benefits 2026-05-15 17:48:25 +07:00
setup.h ARM: 8495/1: ATAGS: move save_atags() to arch/arm/include/asm/setup.h 2016-01-04 11:26:00 +00:00
shmparam.h
signal.h
smp.h ARM: 8423/1: add const qualifier to smp_operations member in structures 2015-09-22 08:13:57 +01:00
smp_plat.h ARM: 8392/3: smp: Only expose /sys/.../cpuX/online if hotpluggable 2015-07-31 18:58:30 +01:00
smp_scu.h
smp_twd.h
sparsemem.h ARM: 8411/1: Add default SPARSEMEM settings 2016-02-16 16:35:21 +00:00
spectre.h ARM: Spectre-BHB: provide empty stub for non-config 2022-03-16 12:49:01 +01:00
spinlock.h locking/spinlock, arch: Update and fix spin_unlock_wait() implementations 2016-06-14 11:55:15 +02:00
spinlock_types.h
stackprotector.h
stacktrace.h
stage2_pgtable.h kvm-arm: arm32: Introduce stage2 page table helpers 2016-04-21 14:57:26 +02:00
string.h
suspend.h ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used 2020-01-29 10:24:18 +01:00
swab.h
switch_to.h sched, arm: Remove finish_arch_switch() 2015-08-04 09:37:52 +02:00
sync_bitops.h
syscall.h
system_info.h
system_misc.h Merge android-4.9.145 (6328e64) into msm-4.9 2019-01-03 16:41:57 +08:00
tcm.h
therm.h
thread_info.h BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
thread_notify.h
timex.h arm: use fallback for random_get_entropy() instead of zero 2022-06-25 11:45:13 +02:00
tlb.h hugetlbfs: flush TLBs correctly after huge_pmd_unshare 2021-12-08 08:45:03 +01:00
tlbflush.h
tls.h
topology.h arm/topology: link arch_scale_min_freq_capacity to cpufreq 2018-02-22 11:48:43 +05:30
traps.h BACKPORT: irq: Make the irqentry text section unconditional 2017-12-18 15:21:35 -08:00
trusted_foundations.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
uaccess.h ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+ 2019-12-21 10:40:52 +01:00
ucontext.h
unaligned.h ARM: 8715/1: add a private asm/unaligned.h 2017-11-08 10:08:32 +01:00
unified.h ARM: 8723/2: always assume the "unified" syntax for assembly code 2021-04-16 11:59:05 +02:00
unistd.h ANDROID: arch: fix backported syscall numbers 2022-06-14 17:12:01 +00:00
unwind.h
uprobes.h
user.h
v7m.h ARM: 8603/1: V7M: Add addresses for mem-mapped V7M cache operations 2016-09-06 15:51:06 +01:00
vdso.h ARM: 8748/1: mm: Define vdso_start, vdso_end as array 2018-05-30 07:50:38 +02:00
vdso_datapage.h ANDROID: clock_gettime(CLOCK_BOOTTIME,) slows down >20x 2020-06-30 02:50:11 +03:00
vfp.h ARM: vfp: Add vfp_disable for problematic platforms 2015-05-20 15:07:00 -07:00
vfpmacros.h
vga.h
virt.h arm/arm64: KVM: Export __hyp_text_start/end symbols 2016-07-03 23:41:27 +02:00
word-at-a-time.h
xor.h