diff options
author | Greentime Hu | 2017-11-22 18:57:46 +0800 |
---|---|---|
committer | Greentime Hu | 2018-02-22 10:44:30 +0800 |
commit | b3ada9d0ce8d286c8bbbb02fdbddec5036242b42 (patch) | |
tree | f459bc321749a4a902343c7bbdb4b8854059779e /scripts | |
parent | 94bc61ead46c3d9943bd35a4536e61d4ea9f1e66 (diff) |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions