m32r: add io*_rep helpers
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 29 Dec 2015 22:54:19 +0000 (14:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2015 01:45:49 +0000 (17:45 -0800)
commit92a8ed4c7643809123ef0a65424569eaacc5c6b0
tree6e682d1078bdebae30611bacd1dde304bab25e5f
parent6122192eb6f2a3311bbf4600c5537fbe1c223022
m32r: add io*_rep helpers

m32r allmodconfig was failing with the error:

  error: implicit declaration of function 'read'

On checking io.h it turned out that 'read' is not defined but 'readb' is
defined and 'ioread8' will then obviously mean 'readb'.

At the same time some of the helper functions ioreadN_rep() and
iowriteN_rep() were missing which also led to the build failure.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/include/asm/io.h