All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Wei Liu" <wl@xen.org>, "Roger Pau Monné" <roger.pau@citrix.com>
Subject: [Xen-devel] [PATCH 9/9] x86: reduce mce.h include dependencies
Date: Mon, 9 Mar 2020 13:11:26 +0100	[thread overview]
Message-ID: <2fd9e568-cc00-bf18-e54b-f2e8a70b77fa@suse.com> (raw)
In-Reply-To: <e0b6b003-18c6-56a0-f791-1ebd4172f5fc@suse.com>

Drop the public header #include as not needed by the header itself. Add
one that was missing, and move all inside the inclusion guard.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/include/asm-x86/mce.h
+++ b/xen/include/asm-x86/mce.h
@@ -1,8 +1,9 @@
-#include <xen/types.h>
-#include <public/arch-x86/xen-mca.h>
 #ifndef _XEN_X86_MCE_H
 #define _XEN_X86_MCE_H
 
+#include <xen/spinlock.h>
+#include <xen/types.h>
+
 /*
  * Emulate 2 banks for guest
  * Bank0: reserved for 'bank0 quirk' occur at some very old processors:
@@ -32,6 +33,9 @@ struct vmce {
     struct vmce_bank bank[GUEST_MC_BANK_NUM];
 };
 
+struct domain;
+struct vcpu;
+
 /* Guest vMCE MSRs virtualization */
 extern void vmce_init_vcpu(struct vcpu *);
 extern int vmce_restore_vcpu(struct vcpu *, const struct hvm_vmce_vcpu *);


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      parent reply	other threads:[~2020-03-09 12:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 12:04 [Xen-devel] [PATCH 0/9] x86: reduce include dependencies Jan Beulich
2020-03-09 12:06 ` [Xen-devel] [PATCH 1/9] x86/HVM: reduce domain.h " Jan Beulich
2020-03-09 13:33   ` Andrew Cooper
2020-03-09 13:52     ` Jan Beulich
2020-03-09 14:22     ` Jan Beulich
2020-03-09 12:07 ` [Xen-devel] [PATCH 2/9] x86/HVM: reduce vcpu.h " Jan Beulich
2020-03-09 12:07 ` [Xen-devel] [PATCH 3/9] x86/HVM: reduce vpt.h " Jan Beulich
2020-03-09 12:08 ` [Xen-devel] [PATCH 4/9] x86/HVM: reduce vpic.h " Jan Beulich
2020-03-09 12:08 ` [Xen-devel] [PATCH 5/9] x86/HVM: reduce vioapic.h " Jan Beulich
2020-03-09 12:09 ` [Xen-devel] [PATCH 6/9] x86/HVM: reduce vlapic.h " Jan Beulich
2020-03-09 12:10 ` [Xen-devel] [PATCH 7/9] x86/HVM: reduce io.h " Jan Beulich
2020-03-09 12:11 ` [Xen-devel] [PATCH 8/9] x86/HVM: reduce hvm.h " Jan Beulich
2020-03-09 12:11 ` Jan Beulich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2fd9e568-cc00-bf18-e54b-f2e8a70b77fa@suse.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.