HV: move AP_MASK to cpu.h

It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h
and removes the defination of the MACRO spanning different source files.

Tracked-On: #2991
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Kaige Fu
2019-04-23 10:40:14 +00:00
committed by ACRN System Integration
parent 7b6fe14517
commit 581c0a239a
3 changed files with 2 additions and 4 deletions

View File

@@ -139,6 +139,8 @@
#define BUS_LOCK "lock ; "
#define AP_MASK (((1UL << get_pcpu_nums()) - 1UL) & ~(1UL << 0U))
/**
*
* Identifiers for architecturally defined registers.