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

@@ -1,6 +1,6 @@
#ifndef EVENT_H
#define EVENT_H
#include <x86/lib/spinlock.h>
#include <asm/lib/spinlock.h>
struct sched_event {
spinlock_t lock;

View File

@@ -8,7 +8,7 @@
#define COMMON_IRQ_H
#include <lib/util.h>
#include <x86/lib/spinlock.h>
#include <asm/lib/spinlock.h>
/**
* @file common/irq.h

View File

@@ -7,8 +7,8 @@
#ifndef PTDEV_H
#define PTDEV_H
#include <list.h>
#include <x86/lib/spinlock.h>
#include <x86/timer.h>
#include <asm/lib/spinlock.h>
#include <asm/timer.h>
enum intx_ctlr {

View File

@@ -6,9 +6,9 @@
#ifndef SCHEDULE_H
#define SCHEDULE_H
#include <x86/lib/spinlock.h>
#include <asm/lib/spinlock.h>
#include <lib/list.h>
#include <x86/timer.h>
#include <asm/timer.h>
#define NEED_RESCHEDULE (1U)