From: Andy Shevchenko Date: Fri, 30 Jun 2017 17:09:31 +0000 (+0300) Subject: x86/io: Include asm-generic/io.h to architectural code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3195201198aad06c151dcfcb09e2fff79b2fda0e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86/io: Include asm-generic/io.h to architectural code asm-generic/io.h defines few helpers which would be useful in the drivers, such as writesb() and readsb(). Include it to the asm/io.h in architectural folder. Signed-off-by: Andy Shevchenko Acked-by: Wolfram Sang Cc: Baolin Wang Cc: Linus Torvalds Cc: Mika Westerberg Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: intel-gfx@lists.freedesktop.org Cc: linux-i2c@vger.kernel.org Link: http://lkml.kernel.org/r/20170630170934.83028-3-andriy.shevchenko@linux.intel.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index c1c0880768f7..0558d81c177e 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -406,6 +406,9 @@ extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, #define IO_SPACE_LIMIT 0xffff +#include +#undef PCI_IOBASE + #ifdef CONFIG_MTRR extern int __must_check arch_phys_wc_index(int handle); #define arch_phys_wc_index arch_phys_wc_index