mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 20:34:05 +00:00
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 <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Will Deacon <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
9 lines
207 B
Makefile
9 lines
207 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
generic-y += asm-offsets.h
|
|
generic-y += cmpxchg.h
|
|
generic-y += extable.h
|
|
generic-y += kvm_para.h
|
|
generic-y += mcs_spinlock.h
|
|
generic-y += parport.h
|
|
generic-y += spinlock.h
|