Greentime Hu b3ada9d0ce asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU
It allows some architectures to use this generic macro instead of
defining theirs.

sparc: io: To use the define of ioremap_[nocache|wc|wb] in asm-generic/io.h
It will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that
in order to suppress re-definition errors we need to remove the #define
in arch/sparc/include/asm/io_32.h. Also, the change adds a prototype for
ioremap where size is size_t and offset is phys_addr_t so fix that as well.

Signed-off-by: Greentime Hu <greentime@andestech.com>
2018-02-22 10:44:30 +08:00
..
2017-06-01 09:42:46 -07:00
2016-08-07 23:55:43 -04:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2015-03-19 18:54:49 -07:00
2017-06-25 22:01:11 -04:00
2013-06-13 22:12:14 +01:00
2017-11-15 14:21:03 +09:00