Skip to content

Commit

Permalink
openrisc: Move to ticket-spinlock
Browse files Browse the repository at this point in the history
We have no indications that openrisc meets the qspinlock requirements,
so move to ticket-spinlock as that is more likey to be correct.

Remove duplicate arch_spin_relax, arch_read_relax, arch_write_relax
definition.

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
  • Loading branch information
Peter Zijlstra authored and intel-lab-lkp committed Mar 19, 2022
1 parent b29f551 commit 4e66dc8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 40 deletions.
1 change: 0 additions & 1 deletion arch/openrisc/Kconfig
Expand Up @@ -30,7 +30,6 @@ config OPENRISC
select HAVE_DEBUG_STACKOVERFLOW
select OR1K_PIC
select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
select ARCH_USE_QUEUED_SPINLOCKS
select ARCH_USE_QUEUED_RWLOCKS
select OMPIC if SMP
select ARCH_WANT_FRAME_POINTERS
Expand Down
7 changes: 2 additions & 5 deletions arch/openrisc/include/asm/Kbuild
@@ -1,9 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
generic-y += extable.h
generic-y += kvm_para.h
generic-y += mcs_spinlock.h
generic-y += qspinlock_types.h
generic-y += qspinlock.h
generic-y += qrwlock_types.h
generic-y += qrwlock.h
generic-y += spinlock_types.h
generic-y += spinlock.h
generic-y += user.h
27 changes: 0 additions & 27 deletions arch/openrisc/include/asm/spinlock.h

This file was deleted.

7 changes: 0 additions & 7 deletions arch/openrisc/include/asm/spinlock_types.h

This file was deleted.

0 comments on commit 4e66dc8

Please sign in to comment.