asm/domain.h is a dependency of xen/sched.h, and hence should not itself
include xen/sched.h. Nor should any of the other #include-s used by it.
While at it, also drop two other #include-s that aren't needed by this
particular header.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
#define __ASM_DOMAIN_H__
#include <xen/cache.h>
-#include <xen/sched.h>
+#include <xen/timer.h>
#include <asm/page.h>
#include <asm/p2m.h>
#include <asm/vfp.h>
#include <asm/vgic.h>
#include <asm/vpl011.h>
#include <public/hvm/params.h>
-#include <xen/serial.h>
-#include <xen/rbtree.h>
struct hvm_domain
{
#ifndef _ASM_VFP_H
#define _ASM_VFP_H
-#include <xen/sched.h>
+struct vcpu;
#if defined(CONFIG_ARM_32)
# include <asm/arm32/vfp.h>