aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2024-11-03 15:51:49 +0100
committerPalmer Dabbelt <[email protected]>2024-11-11 07:33:16 -0800
commitcbe82e140bb76e1aa9f808cc841654a25b70d4e5 (patch)
tree1063d2ecfdea6d07b78cec9ff82b86085906ddef /rust/helpers/build_bug.c
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 <[email protected]> Suggested-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/linux-riscv/CAK8P3a2rnz9mQqhN6-e0CGUUv9rntRELFdxt_weiD7FxH7fkfQ@mail.gmail.com/ Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Guo Ren <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Andrea Parri <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions