summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/processor.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
commit967c65a99059fd459b956c1588ce0ba227912c4e (patch)
tree8224d013ff5d255420713d05610c7efebd204d2a /include/asm-alpha/processor.h
parente20c1cc1656a66a2773bca4591a895cbc12696ff (diff)
Merge with Linux 2.1.72, part 1.
Diffstat (limited to 'include/asm-alpha/processor.h')
-rw-r--r--include/asm-alpha/processor.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-alpha/processor.h b/include/asm-alpha/processor.h
index 17674b56d..47f1bf4f6 100644
--- a/include/asm-alpha/processor.h
+++ b/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;
@@ -44,9 +48,10 @@ struct thread_struct {
/* bit 1..5: IEEE_TRAP_ENABLE bits (see fpu.h) */
/* bit 6..8: UAC bits (see sysinfo.h) */
/* bit 17..21: IEEE_STATUS_MASK bits (see fpu.h) */
+ /* 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, \
@@ -57,7 +62,7 @@ struct thread_struct {
0, 0, 0, \
0, 0, 0, \
0, \
- 0 \
+ KERNEL_DS \
}
#include <asm/ptrace.h>