[PATCH] m32r: Update _port2addr to use NONCACHE_OFFSET
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 6 Jan 2006 08:18:43 +0000 (00:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:44 +0000 (08:33 -0800)
commit46ea178b7a5162405bf70954d769165cf2161309
treed757c796068a38ffa8c2b793233805c9b0120cde
parent1b5b776aa5730cbda9cba84ba0f8ccd53a775797
[PATCH] m32r: Update _port2addr to use NONCACHE_OFFSET

Modify _port2addr*() routines in arch/m32r/kernel/io_*.c to use
NONCACHE_OFFSET instead of hard-coding of a constant address.

This modification is also required to support an M3A-ZA36 FPGA eva board in
case an MMU-less synthesizable m32r core is used.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/io_m32104ut.c
arch/m32r/kernel/io_m32700ut.c
arch/m32r/kernel/io_mappi.c
arch/m32r/kernel/io_mappi2.c
arch/m32r/kernel/io_mappi3.c
arch/m32r/kernel/io_oaks32r.c
arch/m32r/kernel/io_opsput.c
include/asm-m32r/m32r.h