ia64/linux-2.6.18-xen.hg

annotate include/asm-arm/arch-clps711x/io.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * linux/include/asm-arm/arch-clps711x/io.h
ian@0 3 *
ian@0 4 * Copyright (C) 1999 ARM Limited
ian@0 5 *
ian@0 6 * This program is free software; you can redistribute it and/or modify
ian@0 7 * it under the terms of the GNU General Public License as published by
ian@0 8 * the Free Software Foundation; either version 2 of the License, or
ian@0 9 * (at your option) any later version.
ian@0 10 *
ian@0 11 * This program is distributed in the hope that it will be useful,
ian@0 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ian@0 14 * GNU General Public License for more details.
ian@0 15 *
ian@0 16 * You should have received a copy of the GNU General Public License
ian@0 17 * along with this program; if not, write to the Free Software
ian@0 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
ian@0 19 */
ian@0 20 #ifndef __ASM_ARM_ARCH_IO_H
ian@0 21 #define __ASM_ARM_ARCH_IO_H
ian@0 22
ian@0 23 #include <asm/hardware.h>
ian@0 24
ian@0 25 #define IO_SPACE_LIMIT 0xffffffff
ian@0 26
ian@0 27 #define __io(a) ((void __iomem *)(a))
ian@0 28 #define __mem_pci(a) (a)
ian@0 29
ian@0 30 /*
ian@0 31 * We don't support ins[lb]/outs[lb]. Make them fault.
ian@0 32 */
ian@0 33 #define __raw_readsb(p,d,l) do { *(int *)0 = 0; } while (0)
ian@0 34 #define __raw_readsl(p,d,l) do { *(int *)0 = 0; } while (0)
ian@0 35 #define __raw_writesb(p,d,l) do { *(int *)0 = 0; } while (0)
ian@0 36 #define __raw_writesl(p,d,l) do { *(int *)0 = 0; } while (0)
ian@0 37
ian@0 38 #endif