From: Jonas Bonn Date: Sat, 2 Jul 2011 15:17:35 +0000 (+0200) Subject: asm-generic: add MMU variants of io.h functions X-Git-Tag: v3.1-rc1~262^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ecc69838a2d7c8a3e1909f637d4083c071777d;p=pandora-kernel.git 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: Jonas Bonn Cc: liqin.chen@sunplusct.com Cc: gxt@mprc.pku.edu.cn Acked-by: Mike Frysinger Acked-by: Arnd Bergmann --- Reading git-diff-tree failed