prism54: prism54_get_encode() test below 0 on unsigned index
[linux-2.6/sactl.git] / include / asm-arm / arch-orion / io.h
blobe0b8c39b9167cdbc5ac4d4b992455471cccdce29
1 /*
2 * include/asm-arm/arch-orion/io.h
4 * Tzachi Perelstein <tzachi@marvell.com>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
11 #ifndef __ASM_ARM_ARCH_IO_H
12 #define __ASM_ARM_ARCH_IO_H
14 #include "orion.h"
16 #define IO_SPACE_LIMIT 0xffffffff
17 #define IO_SPACE_REMAP ORION_PCI_SYS_IO_BASE
19 static inline void __iomem *__io(unsigned long addr)
21 return (void __iomem *)addr;
24 #define __io(a) __io(a)
25 #define __mem_pci(a) (a)
27 #endif