dm ioctl: remove lock_kernel
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / arch-mxc / io.h
blobcf6c83a4b9f7fc7fb98e05a1aa299c5992140ad4
1 /*
2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
5 /*
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 /*!
12 * @file io.h
13 * @brief This file contains some memory mapping macros.
14 * @note There is no real ISA or PCI buses. But have to define these macros
15 * for some drivers to compile.
17 * @ingroup System
20 #ifndef __ASM_ARCH_MXC_IO_H__
21 #define __ASM_ARCH_MXC_IO_H__
23 /*! Allow IO space to be anywhere in the memory */
24 #define IO_SPACE_LIMIT 0xffffffff
26 /*!
27 * io address mapping macro
29 #define __io(a) ((void __iomem *)(a))
31 #define __mem_pci(a) (a)
33 #endif