commit | 94bc61ead46c3d9943bd35a4536e61d4ea9f1e66 | [log] [tgz] |
---|---|---|
author | Greentime Hu <greentime@andestech.com> | Wed Feb 21 14:21:23 2018 +0800 |
committer | Greentime Hu <greentime@andestech.com> | Thu Feb 22 10:44:30 2018 +0800 |
tree | 11f1424f508f10e271433560c08bacb0f0093f45 | |
parent | b934e8eb483354bbadf1eee0a54e9487f50d6c5b [diff] |
xtensa: add ioremap_nocache declaration before include asm-generic/io.h. A future commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to setup #define's before importing asm-generic/io.h. Signed-off-by: Greentime Hu <greentime@andestech.com>