Updated and confirmed struct iowait{} and struct hfi1_user_sdma_pkt_q {}

Conflicts:
	kernel/include/hfi1/ihk_hfi1_common.h
This commit is contained in:
Aram Santogidis
2017-08-08 09:47:57 +09:00
committed by Balazs Gerofi
parent c4ca4ae3ab
commit 7005110697
4 changed files with 10 additions and 15 deletions

View File

@@ -74,11 +74,12 @@ typedef ihk_spinlock_t spinlock_t;
#define spin_unlock_irqrestore(lock, flags) do {} while(0)
#define ____cacheline_aligned_in_smp __attribute__((aligned(64)))
#define __iomem
#define spin_lock(...) do {} while(0)
#define spin_unlock(...) do {} while(0)
/* double check */
#define spin_lock ihk_mc_spinlock_lock_noirq
#define spin_unlock ihk_mc_spinlock_unlock_noirq
/***********************************************/
#define smp_wmb() barrier()
#define smp_rmb() barrier()
/***********************************************/
#define __rcu
#define __percpu