Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
palmer-dabbelt committed Jun 26, 2017
1 parent 7d16920 commit a75d28c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/riscv/include/asm/spinlock.h
Expand Up @@ -21,6 +21,8 @@
* Simple spin lock operations. These provide no fairness guarantees.
*/

/* FIXME: Replace this with a ticket lock, like MIPS. */

#define arch_spin_lock_flags(lock, flags) arch_spin_lock(lock)
#define arch_spin_is_locked(x) ((x)->lock != 0)
#define arch_spin_unlock_wait(x) \
Expand Down

0 comments on commit a75d28c

Please sign in to comment.