[parisc-linux-cvs] "current" seems now to be "current_thread_info()"
Helge Deller
deller@gmx.de
Sun, 21 Jul 2002 01:43:00 +0200
--Boundary-00=_EWfO9MJIfMDOUGV
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
On Sunday 21 July 2002 01:40, Helge Deller wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.5
> Changes by: deller 02/07/20 17:40:38
>
> Modified files:
> include/asm-parisc: uaccess.h
>
> Log message:
> "current" seems now to be "current_thread_info()"
--Boundary-00=_EWfO9MJIfMDOUGV
Content-Type: text/plain;
charset="iso-8859-1";
name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff"
? offset.h
Index: uaccess.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-parisc/uaccess.h,v
retrieving revision 1.3
diff -u -p -r1.3 uaccess.h
--- uaccess.h 20 Jul 2002 15:52:25 -0000 1.3
+++ uaccess.h 20 Jul 2002 23:39:47 -0000
@@ -18,8 +18,8 @@
#define segment_eq(a,b) ((a).seg == (b).seg)
#define get_ds() (KERNEL_DS)
-#define get_fs() (current->addr_limit)
-#define set_fs(x) (current->addr_limit = (x))
+#define get_fs() (current_thread_info()->addr_limit)
+#define set_fs(x) (current_thread_info()->addr_limit = (x))
/*
* Note that since kernel addresses are in a separate address space on
--Boundary-00=_EWfO9MJIfMDOUGV--