patch-2.0.13 linux/include/asm-alpha/segment.h
Next file: linux/include/linux/a.out.h
Previous file: linux/include/asm-alpha/processor.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue Aug 13 09:27:48 1996
- Orig file:
v2.0.12/linux/include/asm-alpha/segment.h
- Orig date:
Sat Nov 25 11:54:56 1995
diff -u --recursive --new-file v2.0.12/linux/include/asm-alpha/segment.h linux/include/asm-alpha/segment.h
@@ -111,18 +111,12 @@
#define KERNEL_DS 0
#define USER_DS 1
-static inline unsigned long get_fs(void)
-{
- return 1;
-}
+#define get_fs() (current->tss.segment)
+#define set_fs(x) (current->tss.segment=(x))
static inline unsigned long get_ds(void)
{
return 0;
-}
-
-static inline void set_fs(unsigned long val)
-{
}
#endif /* _ASM_SEGMENT_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov