ihk_hfi1_common.h: use IRQ restore unlock in spin_unlock
This commit is contained in:
@@ -96,8 +96,7 @@ typedef ihk_spinlock_t spinlock_t;
|
|||||||
|
|
||||||
#define spin_unlock_irqrestore(lock, flags) \
|
#define spin_unlock_irqrestore(lock, flags) \
|
||||||
do { \
|
do { \
|
||||||
ihk_mc_spinlock_unlock_noirq(lock); \
|
ihk_mc_spinlock_unlock(lock, flags); \
|
||||||
cpu_restore_interrupt(flags); \
|
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define spin_lock ihk_mc_spinlock_lock_noirq
|
#define spin_lock ihk_mc_spinlock_lock_noirq
|
||||||
|
|||||||
Reference in New Issue
Block a user