mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
will follow this convention for spin lock initialization: -- for simple global variable locks, use this style: static spinlock_t xxx_spinlock = {.head = 0U, .tail = 0U,} -- for the locks inside a data structure, need to call spinlock_init to initialize. Tracked-On: #4958 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>