patch-2.3.16 linux/include/asm-sparc/uaccess.h

Next file: linux/include/asm-sparc/winmacro.h
Previous file: linux/include/asm-sparc/sunbpp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/include/asm-sparc/uaccess.h linux/include/asm-sparc/uaccess.h
@@ -1,4 +1,4 @@
-/* $Id: uaccess.h,v 1.18 1999/03/30 06:38:38 jj Exp $
+/* $Id: uaccess.h,v 1.19 1999/08/14 03:52:11 anton Exp $
  * uaccess.h: User space memore access functions.
  *
  * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -29,8 +29,8 @@
 #define VERIFY_WRITE	1
 
 #define get_ds()	(KERNEL_DS)
-#define get_fs()	(current->tss.current_ds)
-#define set_fs(val)	((current->tss.current_ds) = (val))
+#define get_fs()	(current->thread.current_ds)
+#define set_fs(val)	((current->thread.current_ds) = (val))
 
 #define segment_eq(a,b)	((a).seg == (b).seg)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)