/* "memset" on IO memory space. This needs to be optimized.  */
void memset_io(volatile void __iomem *dst, int c, long count)
/* "memset" on IO memory space. This needs to be optimized.  */
void memset_io(volatile void __iomem *dst, int c, long count)
{
	unsigned char ch = (char)(c & 0xff);
	while (count) {
		count--;
		writeb(ch, dst);
		dst++;
	}
}