patch-1.3.64 linux/include/asm-alpha/system.h
Next file: linux/include/linux/cdk.h
Previous file: linux/include/asm-alpha/byteorder.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Feb 15 09:20:41 1996
- Orig file:
v1.3.63/linux/include/asm-alpha/system.h
- Orig date:
Wed Feb 7 15:11:36 1996
diff -u --recursive --new-file v1.3.63/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -113,10 +113,10 @@
/*
* Give prototypes to shut up gcc.
*/
-extern inline unsigned long xchg_u32 (volatile int * m, unsigned long val);
-extern inline unsigned long xchg_u64 (volatile long * m, unsigned long val);
+extern __inline__ unsigned long xchg_u32 (volatile int * m, unsigned long val);
+extern __inline__ unsigned long xchg_u64 (volatile long * m, unsigned long val);
-extern inline unsigned long xchg_u32(volatile int * m, unsigned long val)
+extern __inline__ unsigned long xchg_u32(volatile int * m, unsigned long val)
{
unsigned long dummy, dummy2;
@@ -132,7 +132,7 @@
return val;
}
-extern inline unsigned long xchg_u64(volatile long * m, unsigned long val)
+extern __inline__ unsigned long xchg_u64(volatile long * m, unsigned long val)
{
unsigned long dummy, dummy2;
@@ -161,7 +161,7 @@
*/
extern void __xchg_called_with_bad_pointer(void);
-static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
+static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
{
switch (size) {
case 4:
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