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

Next file: linux/include/asm-ppc/unistd.h
Previous file: linux/include/asm-ppc/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/include/asm-ppc/uaccess.h linux/include/asm-ppc/uaccess.h
@@ -21,8 +21,8 @@
 #define USER_DS		((mm_segment_t) { 1 })
 
 #define get_ds()	(KERNEL_DS)
-#define get_fs()	(current->tss.fs)
-#define set_fs(val)	(current->tss.fs = (val))
+#define get_fs()	(current->thread.fs)
+#define set_fs(val)	(current->thread.fs = (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)