mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +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:
@@ -37,8 +37,8 @@
|
||||
* @brief public APIs for virtual I/O APIC
|
||||
*/
|
||||
|
||||
#include <x86/apicreg.h>
|
||||
#include <x86/ioapic.h>
|
||||
#include <asm/apicreg.h>
|
||||
#include <asm/ioapic.h>
|
||||
#include <util.h>
|
||||
|
||||
#define VIOAPIC_BASE 0xFEC00000UL
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#ifndef VPCI_H_
|
||||
#define VPCI_H_
|
||||
|
||||
#include <x86/lib/spinlock.h>
|
||||
#include <asm/lib/spinlock.h>
|
||||
#include <pci.h>
|
||||
#include <list.h>
|
||||
|
||||
|
@@ -30,8 +30,8 @@
|
||||
#ifndef VUART_H
|
||||
#define VUART_H
|
||||
#include <types.h>
|
||||
#include <x86/lib/spinlock.h>
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/lib/spinlock.h>
|
||||
#include <asm/vm_config.h>
|
||||
|
||||
#define RX_BUF_SIZE 256U
|
||||
#define TX_BUF_SIZE 8192U
|
||||
|
Reference in New Issue
Block a user