summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/include/mach/hardware.h
diff options
context:
space:
mode:
authorGuanXuetao <gxt@mprc.pku.edu.cn>2011-02-26 20:49:47 +0800
committerGuanXuetao <gxt@mprc.pku.edu.cn>2011-03-17 09:19:17 +0800
commitbd42aa75b4231b5fd3742de4c4b84ad590a7d654 (patch)
tree1fdf89c7b05fbd48d2fdd3f414ae902cb8059946 /arch/unicore32/include/mach/hardware.h
parent36a8b8c399480b5388ddd198ead78c9dd0e50df0 (diff)
unicore32: rename PKUNITY_IOSPACE_BASE to PKUNITY_MMIO_BASE
for the term IOSPACE normally refers to the PCI PIO space -- by advice with Arnd Bergmann Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'arch/unicore32/include/mach/hardware.h')
-rw-r--r--arch/unicore32/include/mach/hardware.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/unicore32/include/mach/hardware.h b/arch/unicore32/include/mach/hardware.h
index 3fb7236f8d6..c7d3dd6b4ef 100644
--- a/arch/unicore32/include/mach/hardware.h
+++ b/arch/unicore32/include/mach/hardware.h
@@ -17,8 +17,8 @@
#include "PKUnity.h"
-#define io_p2v(x) ((x) - PKUNITY_IOSPACE_BASE)
-#define io_v2p(x) ((x) + PKUNITY_IOSPACE_BASE)
+#define io_p2v(x) ((x) - PKUNITY_MMIO_BASE)
+#define io_v2p(x) ((x) + PKUNITY_MMIO_BASE)
#ifndef __ASSEMBLY__