linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / parisc / lib / iomap.c
index f4a8116..01bec8f 100644 (file)
@@ -263,7 +263,11 @@ static const struct iomap_ops iomem_ops = {
 
 const struct iomap_ops *iomap_ops[8] = {
        [0] = &ioport_ops,
+#ifdef CONFIG_DEBUG_IOREMAP
+       [6] = &iomem_ops,
+#else
        [7] = &iomem_ops
+#endif
 };