mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
0560cf5aa5
As Al did for Versatile in 2ad4f86b60
,
add a typesafe __io implementation for platforms to use. Convert
platforms to use this new simple typesafe implementation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 lines
432 B
C
20 lines
432 B
C
/*
|
|
* arch/arm/mach-ks8695/include/mach/io.h
|
|
*
|
|
* Copyright (C) 2006 Andrew Victor
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_IO_H
|
|
#define __ASM_ARCH_IO_H
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff
|
|
|
|
#define __io(a) __typesafe_io(a)
|
|
#define __mem_pci(a) (a)
|
|
|
|
#endif
|