mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user