patch-1.3.82 linux/include/asm-i386/system.h
Next file: linux/include/asm-i386/termios.h
Previous file: linux/include/asm-alpha/hwrpb.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Apr 1 10:31:01 1996
- Orig file:
v1.3.81/linux/include/asm-i386/system.h
- Orig date:
Sun Mar 3 13:14:50 1996
diff -u --recursive --new-file v1.3.81/linux/include/asm-i386/system.h linux/include/asm-i386/system.h
@@ -192,9 +192,9 @@
#define tas(ptr) (xchg((ptr),1))
struct __xchg_dummy { unsigned long a[100]; };
-#define __xg(x) ((volatile struct __xchg_dummy *)(x))
+#define __xg(x) ((struct __xchg_dummy *)(x))
-static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
+static inline unsigned long __xchg(unsigned long x, void * ptr, int size)
{
switch (size) {
case 1:
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