mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv:Move BUS_LOCK to atomic.h
now this MACRO is used in atomic.h and bits.h, move it from cpu.h to atomic.h to avoid reverse dependency(i.e. from lower layer to upper one) Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
eff44fb056
commit
350d6a9eb6
@@ -138,8 +138,6 @@
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
|
||||
#define BUS_LOCK "lock ; "
|
||||
|
||||
#define AP_MASK (((1UL << get_pcpu_nums()) - 1UL) & ~(1UL << 0U))
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user