io.c (6548698f929814375fa5d62ae1db96959b0418c1) | io.c (86e4dd5add77ab809f5427391dfabb8f78cbcb58) |
---|---|
1/* 2 * arch/sh/kernel/io.c - Machine independent I/O functions. 3 * 4 * Copyright (C) 2000 - 2009 Stuart Menefy 5 * Copyright (C) 2005 Paul Mundt 6 * 7 * This file is subject to the terms and conditions of the GNU General Public 8 * License. See the file "COPYING" in the main directory of this archive --- 98 unchanged lines hidden (view full) --- 107{ 108 while (count) { 109 count--; 110 writeb(c, dst); 111 dst++; 112 } 113} 114EXPORT_SYMBOL(memset_io); | 1/* 2 * arch/sh/kernel/io.c - Machine independent I/O functions. 3 * 4 * Copyright (C) 2000 - 2009 Stuart Menefy 5 * Copyright (C) 2005 Paul Mundt 6 * 7 * This file is subject to the terms and conditions of the GNU General Public 8 * License. See the file "COPYING" in the main directory of this archive --- 98 unchanged lines hidden (view full) --- 107{ 108 while (count) { 109 count--; 110 writeb(c, dst); 111 dst++; 112 } 113} 114EXPORT_SYMBOL(memset_io); |
115 116#ifndef CONFIG_GENERIC_IOMAP 117 118void __iomem *ioport_map(unsigned long port, unsigned int nr) 119{ 120 void __iomem *ret; 121 122 ret = __ioport_map_trapped(port, nr); 123 if (ret) 124 return ret; 125 126 return __ioport_map(port, nr); 127} 128EXPORT_SYMBOL(ioport_map); 129 130void ioport_unmap(void __iomem *addr) 131{ 132 sh_mv.mv_ioport_unmap(addr); 133} 134EXPORT_SYMBOL(ioport_unmap); 135 136#endif /* CONFIG_GENERIC_IOMAP */ | |