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

@@ -4,11 +4,11 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <pci_devices.h>
#include <vpci.h>
#include <vbar_base.h>
#include <x86/mmu.h>
#include <x86/page.h>
#include <asm/mmu.h>
#include <asm/page.h>
struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];

View File

@@ -4,5 +4,5 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
struct pt_intx_config vm0_pt_intx[1U];

View File

@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <vuart.h>
#include <x86/pci_dev.h>
#include <asm/pci_dev.h>
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
extern struct pt_intx_config vm0_pt_intx[1U];
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {

View File

@@ -8,7 +8,7 @@
#define IVSHMEM_CFG_H
#include <ivshmem.h>
#include <x86/pgtable.h>
#include <asm/pgtable.h>
#define IVSHMEM_SHM_REGION_0 "hv:/shm_region_0"
/* The IVSHMEM_SHM_SIZE is the sum of all memory regions. The size range of each memory region is [2MB, 512MB] and is a

View File

@@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <pci_devices.h>
#include <vpci.h>
#include <vbar_base.h>
#include <x86/mmu.h>
#include <x86/page.h>
#include <asm/mmu.h>
#include <asm/page.h>
#include <ivshmem_cfg.h>
/*

View File

@@ -4,5 +4,5 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
struct pt_intx_config vm0_pt_intx[1U];

View File

@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <vuart.h>
#include <x86/pci_dev.h>
#include <asm/pci_dev.h>
extern struct acrn_vm_pci_dev_config vm0_pci_devs[VM0_CONFIG_PCI_DEV_NUM];
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
extern struct acrn_vm_pci_dev_config vm2_pci_devs[VM2_CONFIG_PCI_DEV_NUM];

View File

@@ -4,11 +4,11 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <pci_devices.h>
#include <vpci.h>
#include <vbar_base.h>
#include <x86/mmu.h>
#include <x86/page.h>
#include <asm/mmu.h>
#include <asm/page.h>
struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];

View File

@@ -4,5 +4,5 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
struct pt_intx_config vm0_pt_intx[1U];

View File

@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <vuart.h>
#include <x86/pci_dev.h>
#include <asm/pci_dev.h>
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
extern struct pt_intx_config vm0_pt_intx[1U];
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {

View File

@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <pci_devices.h>
#include <vpci.h>
#include <vbar_base.h>
#include <x86/mmu.h>
#include <x86/page.h>
#include <asm/mmu.h>
#include <asm/page.h>

View File

@@ -4,5 +4,5 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
struct pt_intx_config vm0_pt_intx[1U];

View File

@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <x86/vm_config.h>
#include <asm/vm_config.h>
#include <vuart.h>
#include <x86/pci_dev.h>
#include <asm/pci_dev.h>
extern struct pt_intx_config vm0_pt_intx[1U];
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
{