linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "tip-bot2 for Sean Christopherson" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Sean Christopherson <sean.j.christopherson@intel.com>,
	Ingo Molnar <mingo@kernel.org>, x86 <x86@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [tip: core/headers] virt: vbox: Explicitly include linux/io.h to pick up various defs
Date: Sun, 19 Jan 2020 10:40:46 -0000	[thread overview]
Message-ID: <157943044618.396.2316223087378451667.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20191126165417.22423-8-sean.j.christopherson@intel.com>

The following commit has been merged into the core/headers branch of tip:

Commit-ID:     41bfc11cde43222de6066a380f51b26897fba075
Gitweb:        https://git.kernel.org/tip/41bfc11cde43222de6066a380f51b26897fba075
Author:        Sean Christopherson <sean.j.christopherson@intel.com>
AuthorDate:    Tue, 26 Nov 2019 08:54:12 -08:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 10 Dec 2019 10:15:48 +01:00

virt: vbox: Explicitly include linux/io.h to pick up various defs

Through a labyrinthian sequence of includes, usage of page_to_phys(),
virt_to_phys() and out*() is dependent on the include of asm/io.h in
x86's asm/realmode.h, which is included in x86's asm/acpi.h and thus by
linux/acpi.h.  Explicitly include linux/io.h to break the dependency on
realmode.h so that a future patch can remove the realmode.h include from
acpi.h without breaking the build.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Link: https://lkml.kernel.org/r/20191126165417.22423-8-sean.j.christopherson@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 drivers/virt/vboxguest/vboxguest_core.c  | 1 +
 drivers/virt/vboxguest/vboxguest_utils.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/virt/vboxguest/vboxguest_core.c b/drivers/virt/vboxguest/vboxguest_core.c
index 2307b03..d823d55 100644
--- a/drivers/virt/vboxguest/vboxguest_core.c
+++ b/drivers/virt/vboxguest/vboxguest_core.c
@@ -6,6 +6,7 @@
  */
 
 #include <linux/device.h>
+#include <linux/io.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/sizes.h>
diff --git a/drivers/virt/vboxguest/vboxguest_utils.c b/drivers/virt/vboxguest/vboxguest_utils.c
index 43c3916..50920b6 100644
--- a/drivers/virt/vboxguest/vboxguest_utils.c
+++ b/drivers/virt/vboxguest/vboxguest_utils.c
@@ -7,6 +7,7 @@
  */
 
 #include <linux/errno.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/module.h>

  reply	other threads:[~2020-01-19 10:40 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-26 16:54 [PATCH v2 00/12] treewide: break dependencies on x86's RM header Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 01/12] x86/efi: Explicitly include realmode.h to handle RM trampoline quirk Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 02/12] x86/boot: Explicitly include realmode.h to handle RM reservations Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 03/12] x86/ftrace: Explicitly include vmalloc.h for set_vm_flush_reset_perms() Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 04/12] x86/kprobes: " Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 05/12] perf/x86/intel: Explicitly include asm/io.h to use virt_to_phys() Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 06/12] efi/capsule-loader: Explicitly include linux/io.h for page_to_phys() Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 07/12] virt: vbox: Explicitly include linux/io.h to pick up various defs Sean Christopherson
2020-01-19 10:40   ` tip-bot2 for Sean Christopherson [this message]
2019-11-26 16:54 ` [PATCH v2 08/12] vmw_balloon: Explicitly include linux/io.h for virt_to_phys() Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 09/12] ASoC: Intel: Skylake: " Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 10/12] x86/ACPI/sleep: Remove an unnecessary include of asm/realmode.h Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 11/12] ACPI/sleep: Convert acpi_wakeup_address into a function Sean Christopherson
2019-11-27 21:30   ` Pavel Machek
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-26 16:54 ` [PATCH v2 12/12] x86/ACPI/sleep: Move acpi_get_wakeup_address() into sleep.c, remove <asm/realmode.h> from <asm/acpi.h> Sean Christopherson
2020-01-19 10:40   ` [tip: core/headers] " tip-bot2 for Sean Christopherson
2019-11-27  7:20 ` [PATCH v2 00/12] treewide: break dependencies on x86's RM header Ingo Molnar
2019-11-27 14:47   ` Sean Christopherson
2019-11-27 17:25     ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2019-11-19  0:21 [PATCH 07/12] virt: vbox: Explicitly include linux/io.h to pick up various defs Sean Christopherson
2019-11-26  8:00 ` [tip: core/headers] " tip-bot2 for Sean Christopherson

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=157943044618.396.2316223087378451667.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=sean.j.christopherson@intel.com \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).