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:
Liang Yi
2021-04-23 15:50:57 +08:00
committed by wenlingz
parent f3305b6373
commit 688a41c290
205 changed files with 666 additions and 660 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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