summaryrefslogtreecommitdiff
path: root/include/asm-generic/cache.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2024-11-03 15:51:49 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2024-11-11 07:33:16 -0800
commitcbe82e140bb76e1aa9f808cc841654a25b70d4e5 (patch)
tree1063d2ecfdea6d07b78cec9ff82b86085906ddef /include/asm-generic/cache.h
parent97ddab7fbea8fceb044108b64ba2ee2c96ff8dab (diff)
asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock
The arch_spinlock_t of qspinlock has contained the atomic_t val, which satisfies the ticket-lock requirement. Thus, unify the arch_spinlock_t into qspinlock_types.h. This is the preparation for the next combo spinlock. Reviewed-by: Leonardo Bras <leobras@redhat.com> Suggested-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/linux-riscv/CAK8P3a2rnz9mQqhN6-e0CGUUv9rntRELFdxt_weiD7FxH7fkfQ@mail.gmail.com/ Signed-off-by: Guo Ren <guoren@kernel.org> Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Andrea Parri <parri.andrea@gmail.com> Link: https://lore.kernel.org/r/20241103145153.105097-10-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/asm-generic/cache.h')
0 files changed, 0 insertions, 0 deletions