patch-2.4.27 linux-2.4.27/include/linux/sched.h

Next file: linux-2.4.27/include/linux/sctp.h
Previous file: linux-2.4.27/include/linux/rtnetlink.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/include/linux/sched.h linux-2.4.27/include/linux/sched.h
@@ -273,9 +273,9 @@
 };
 
 #define get_current_user() ({ 				\
-	struct user_struct *__user = current->user;	\
-	atomic_inc(&__user->__count);			\
-	__user; })
+	struct user_struct *__tmp_user = current->user;	\
+	atomic_inc(&__tmp_user->__count);		\
+	__tmp_user; })
 
 extern struct user_struct root_user;
 #define INIT_USER (&root_user)

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