patch-2.1.132 linux/include/asm-arm/arch-vnc/io.h
Next file: linux/include/asm-arm/arch-vnc/irq.h
Previous file: linux/include/asm-arm/arch-vnc/ide.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Dec 17 09:05:43 1998
- Orig file:
v2.1.131/linux/include/asm-arm/arch-vnc/io.h
- Orig date:
Tue Jul 21 00:15:32 1998
diff -u --recursive --new-file v2.1.131/linux/include/asm-arm/arch-vnc/io.h linux/include/asm-arm/arch-vnc/io.h
@@ -163,12 +163,12 @@
return *(volatile unsigned short *)(0xe0000000 + (addr));
}
-static inline void writew(unsigned long b, unsigned int addr)
+static inline void writel(unsigned long b, unsigned int addr)
{
*(volatile unsigned long *)(0xe0000000 + (addr)) = b;
}
-static inline unsigned long readw(unsigned int addr)
+static inline unsigned long readl(unsigned int addr)
{
return *(volatile unsigned long *)(0xe0000000 + (addr));
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov