patch-2.1.127 linux/include/asm-sparc64/uaccess.h
Next file: linux/include/asm-sparc64/unistd.h
Previous file: linux/include/asm-sparc64/system.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Oct 27 09:52:21 1998
- Orig file:
v2.1.126/linux/include/asm-sparc64/uaccess.h
- Orig date:
Mon Oct 5 13:13:44 1998
diff -u --recursive --new-file v2.1.126/linux/include/asm-sparc64/uaccess.h linux/include/asm-sparc64/uaccess.h
@@ -1,4 +1,4 @@
-/* $Id: uaccess.h,v 1.27 1998/09/23 02:04:57 davem Exp $ */
+/* $Id: uaccess.h,v 1.28 1998/10/11 06:58:34 davem Exp $ */
#ifndef _ASM_UACCESS_H
#define _ASM_UACCESS_H
@@ -45,10 +45,8 @@
#define set_fs(val) \
do { \
- unsigned long flags; \
if (current->tss.current_ds.seg != val.seg) { \
spin_lock(&scheduler_lock); \
- __save_and_cli(flags); \
current->tss.current_ds = (val); \
if (segment_eq((val), KERNEL_DS)) { \
flushw_user (); \
@@ -58,7 +56,6 @@
} \
spitfire_set_secondary_context(current->tss.ctx); \
__asm__ __volatile__("flush %g6"); \
- __restore_flags(flags); \
spin_unlock(&scheduler_lock); \
} \
} while(0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov