Commit f803e34d authored by Ingo Molnar's avatar Ingo Molnar

x86/platform/intel/quark: Explicitly include linux/io.h for virt_to_phys()

Similarly to the previous patches by Sean Christopherson:

 "Through a labyrinthian sequence of includes, usage of virt_to_phys() 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."
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Link: https://lkml.kernel.org/r/157475520975.21853.16355518818746065226.tip-bot2@tip-bot2Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 360db4ac
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <asm/cpu_device_id.h> #include <asm/cpu_device_id.h>
#include <asm/imr.h> #include <asm/imr.h>
#include <asm/iosf_mbi.h> #include <asm/iosf_mbi.h>
#include <asm/io.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include <asm-generic/sections.h> #include <asm-generic/sections.h>
#include <asm/cpu_device_id.h> #include <asm/cpu_device_id.h>
#include <asm/imr.h> #include <asm/imr.h>
#include <asm/io.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/types.h> #include <linux/types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment