]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/io: Remove mem*io() duplications
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 30 Jun 2017 17:09:32 +0000 (20:09 +0300)
committerIngo Molnar <mingo@kernel.org>
Mon, 24 Jul 2017 09:18:21 +0000 (11:18 +0200)
commitc2327da06b33d8e1093ce2c28f395bc500d1b0d3
treedfd93d2af6eeaa3e7cfd6e39d9d946e234e3696c
parent3195201198aad06c151dcfcb09e2fff79b2fda0e
x86/io: Remove mem*io() duplications

Generic header defines memset_io, memcpy_fromio(). and memcpy_toio().

Reuse them from generic header and remove in x86 code.
Move the descriptions to the generic header as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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
Cc: wsa@the-dreams.de
Link: http://lkml.kernel.org/r/20170630170934.83028-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/io.h
include/asm-generic/io.h