patch-2.1.69 linux/include/asm-alpha/processor.h

Next file: linux/include/asm-alpha/sigcontext.h
Previous file: linux/fs/umsdos/emd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -25,6 +25,10 @@
 #define MCA_bus 0
 #define MCA_bus__is_a_macro /* for versions in ksyms.c */
 
+typedef struct {
+	unsigned long seg;
+} mm_segment_t;
+
 struct thread_struct {
 	/* the fields below are used by PALcode and must match struct pcb: */
 	unsigned long ksp;
@@ -47,7 +51,7 @@
 	/* bit 63: die_if_kernel recursion lock */
 	unsigned long flags;
 	/* perform syscall argument validation (get/set_fs) */
-	unsigned long fs;
+	mm_segment_t fs;
 };
 
 #define INIT_MMAP { &init_mm, 0xfffffc0000000000,  0xfffffc0010000000, \
@@ -58,7 +62,7 @@
 	0, 0, 0, \
 	0, 0, 0, \
 	0, \
-	0 \
+	KERNEL_DS \
 }
 
 #include <asm/ptrace.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov