mirror of https://github.com/torvalds/linux.git
As h8300's implementation of the atomics isn't using any arch-specific functionality, and its implementation of cmpxchg only uses assembly to non-atomically swap two elements in memory, we may as well use the asm-generic atomic.h and cmpxchg.h, and avoid the duplicate code. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20210525140232.53872-4-mark.rutland@arm.com |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| bitops.h | ||
| bug.h | ||
| byteorder.h | ||
| cache.h | ||
| elf.h | ||
| flat.h | ||
| hash.h | ||
| io.h | ||
| irq.h | ||
| irqflags.h | ||
| kgdb.h | ||
| mmu_context.h | ||
| page.h | ||
| page_offset.h | ||
| pgtable.h | ||
| processor.h | ||
| ptrace.h | ||
| segment.h | ||
| signal.h | ||
| smp.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| thread_info.h | ||
| tlb.h | ||
| traps.h | ||
| user.h | ||
| vmalloc.h | ||