#ifndef _ASM_E2K_SPINLOCK_H #define _ASM_E2K_SPINLOCK_H /* How long a lock should spin before we consider blocking */ #define SPIN_THRESHOLD (1 << 11) #include /* * Read-write spinlocks, allowing multiple readers * but only one writer. * * NOTE! it is quite common to have readers in interrupts * but no interrupt writers. For those circumstances we * can "mix" irq-safe locks - any writer needs to get a * irq-safe write-lock, but readers can get non-irqsafe * read-locks. */ #include #endif /* _ASM_E2K_SPINLOCK_H */