patch-2.3.48 linux/include/asm-arm/arch-sa1100/io.h
Next file: linux/include/asm-arm/parport.h
Previous file: linux/include/asm-arm/arch-rpc/io.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Feb 24 22:44:47 2000
- Orig file:
v2.3.47/linux/include/asm-arm/arch-sa1100/io.h
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.47/linux/include/asm-arm/arch-sa1100/io.h linux/include/asm-arm/arch-sa1100/io.h
@@ -20,7 +20,7 @@
* Generic virtual read/write
*/
#define __arch_getb(a) (*(volatile unsigned char *)(a))
-#define __arch_getl(a) (*(volatile unsigned long *)(a))
+#define __arch_getl(a) (*(volatile unsigned int *)(a))
extern __inline__ unsigned int __arch_getw(unsigned long a)
{
@@ -33,7 +33,7 @@
#define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v))
-#define __arch_putl(v,a) (*(volatile unsigned long *)(a) = (v))
+#define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v))
extern __inline__ void __arch_putw(unsigned int value, unsigned long a)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)