mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: refine atomic_xadd
1. rename atomic_xadd_int to atomic_xadd, add atomic_xadd64. 2. add atomic_add/sbu64_return, atomic_inc/dec64_return. Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -52,7 +52,7 @@ DEFINE_CPU_DATA(struct shared_buf *, earlylog_sbuf);
|
||||
|
||||
struct logmsg {
|
||||
uint32_t flags;
|
||||
unsigned int seq;
|
||||
int seq;
|
||||
spinlock_t lock;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user