Skip to content
Commit f1ecc698 authored by Jonas Bonn's avatar Jonas Bonn
Browse files

asm-generic: add MMU variants of io.h functions



Some of the implementations, in particular the ioremap variants, in
asm-generic/io.h are for systems without an MMU.  In order to be able to
use the generic header file for systems with an MMU, this patch wraps
these implementations in checks for CONFIG_MMU.

Tested on OpenRISC.

Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
Cc: liqin.chen@sunplusct.com
Cc: gxt@mprc.pku.edu.cn
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent a4e05276
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment