ihk_hfi1_common.h: use IRQ restore unlock in spin_unlock

This commit is contained in:
Balazs Gerofi
2018-02-07 19:25:26 +09:00
parent c196c996dd
commit b08331b21a

View File

@@ -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