patch-1.3.7 linux/arch/alpha/lib/io.c

Next file: linux/arch/alpha/lib/memcpy.c
Previous file: linux/arch/alpha/lib/checksum.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/arch/alpha/lib/io.c linux/arch/alpha/lib/io.c
@@ -82,7 +82,7 @@
 
 
 #undef writeb
-void writeb(unsigned short b, unsigned long addr)
+void writeb(unsigned char b, unsigned long addr)
 {
 	__writeb(b, addr);
 }
@@ -264,6 +264,7 @@
  * Copy data from IO memory space to "real" memory space.
  * This needs to be optimized.
  */
+#undef memcpy_fromio
 void memcpy_fromio(void * to, unsigned long from, unsigned long count)
 {
 	while (count) {
@@ -278,6 +279,7 @@
  * Copy data from "real" memory space to IO memory space.
  * This needs to be optimized.
  */
+#undef memcpy_toio
 void memcpy_toio(unsigned long to, void * from, unsigned long count)
 {
 	while (count) {
@@ -292,6 +294,7 @@
  * "memset" on IO memory space.
  * This needs to be optimized.
  */
+#undef memset_io
 void memset_io(unsigned long dst, int c, unsigned long count)
 {
 	while (count) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this