mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: mod: do not use explicit arch name when including headers
Instead of "#include <x86/foo.h>", use "#include <asm/foo.h>". In other words, we are adopting the same practice in Linux kernel. Tracked-On: #5920 Signed-off-by: Liang Yi <yi.liang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <irq.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
void dump_intr_excp_frame(__unused const struct intr_excp_ctx *ctx) {}
|
||||
void dump_exception(__unused struct intr_excp_ctx *ctx, __unused uint16_t pcpu_id) {}
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <types.h>
|
||||
#include <errno.h>
|
||||
#include <vm.h>
|
||||
#include <asm/guest/vm.h>
|
||||
|
||||
int32_t hcall_setup_sbuf(__unused struct acrn_vm *vm, __unused struct acrn_vm *target_vm,
|
||||
__unused uint64_t param1, __unused uint64_t param2)
|
||||
|
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <vcpu.h>
|
||||
#include <asm/guest/vcpu.h>
|
||||
|
||||
void profiling_vmenter_handler(__unused struct acrn_vcpu *vcpu) {}
|
||||
void profiling_pre_vmexit_handler(__unused struct acrn_vcpu *vcpu) {}
|
||||
|
Reference in New Issue
Block a user