x86/io: Define IO accessors by preprocessor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 30 Jun 2017 17:09:30 +0000 (20:09 +0300)
committerIngo Molnar <mingo@kernel.org>
Mon, 24 Jul 2017 09:18:20 +0000 (11:18 +0200)
commit80b9ece1339374444f08da46fa2383019fcf4374
tree4a5455b86db0b5d34d61c7ec06c2d0c078e1b188
parent76846bf3cb09e98881cb4908385a0e899716b01f
x86/io: Define IO accessors by preprocessor

As a preparatory to use generic IO accessor helpers we need to define
architecture dependent functions via preprocessor to let world know we
have them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Baolin Wang <baolin.wang@spreadtrum.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: intel-gfx@lists.freedesktop.org
Cc: linux-i2c@vger.kernel.org
Link: http://lkml.kernel.org/r/20170630170934.83028-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/io.h