mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 05:02:24 +00:00
hv: fix compile issue in release mode
fix compile issue for sbuf in release mode. Tracked-On: #8241 Signed-off-by: Conghui <conghui.chen@intel.com> Acked-by: Fei Li <fei1.li@intel.com>
This commit is contained in:
parent
983f4b90c2
commit
fbe1c39a9e
@ -4,4 +4,12 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <errno.h>
|
||||
|
||||
int32_t sbuf_share_setup(__unused uint16_t pcpu_id,
|
||||
__unused uint32_t sbuf_id, __unused uint64_t *hva)
|
||||
{
|
||||
return -EPERM;
|
||||
}
|
||||
void sbuf_reset(void) {}
|
||||
|
Loading…
Reference in New Issue
Block a user