mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-27 23:15:00 +00:00
hv: multi-arch reconstruct atomic library
extract common interface to include/lib/atomic.h, and invoke the variant implementation of arch. Tracked-On: #8803 Signed-off-by: Haoyu Tang <haoyu.tang@intel.com> Reviewed-by: Yifan Liu <yifan1.liu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*-
|
||||
* Copyright (c) 1998 Doug Rabson
|
||||
* Copyright (c) 2017-2022 Intel Corporation.
|
||||
* Copyright (c) 2017-2025 Intel Corporation.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#ifndef BITS_H
|
||||
#define BITS_H
|
||||
#include <asm/lib/atomic.h>
|
||||
#include <atomic.h>
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user