hv: clean up spinlock wrappers

- remove the following unnecessary spinlock wrappers
  #define IOMMU_LOCK(u) spinlock_obtain(&((u)->lock))
  #define IOMMU_UNLOCK(u) spinlock_release(&((u)->lock))
- remove the unnecessary comments in vpic.c

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shiqing Gao
2018-09-12 15:18:15 +08:00
committed by lijinxia
parent 44a2d77c32
commit b1ba12ae1b
2 changed files with 18 additions and 24 deletions

View File

@@ -29,9 +29,6 @@
#include <hypervisor.h>
/* TODO: add spinlock_locked support? */
/*#define VPIC_LOCKED(vpic) spinlock_locked(&((vpic)->lock))*/
#define ACRN_DBG_PIC 6U
enum irqstate {