patch-2.3.16 linux/include/asm-sparc/processor.h
Next file: linux/include/asm-sparc/resource.h
Previous file: linux/include/asm-sparc/mostek.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Tue Aug 31 11:23:30 1999
- Orig file:
v2.3.15/linux/include/asm-sparc/processor.h
- Orig date:
Sun Jul 25 13:45:25 1999
diff -u --recursive --new-file v2.3.15/linux/include/asm-sparc/processor.h linux/include/asm-sparc/processor.h
@@ -1,4 +1,4 @@
-/* $Id: processor.h,v 1.71 1999/05/27 04:52:43 davem Exp $
+/* $Id: processor.h,v 1.72 1999/08/14 03:52:04 anton Exp $
* include/asm-sparc/processor.h
*
* Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
@@ -96,7 +96,7 @@
#define INIT_MMAP { &init_mm, (0), (0), \
NULL, __pgprot(0x0) , VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }
-#define INIT_TSS { \
+#define INIT_THREAD { \
/* uwinmask, kregs, sig_address, sig_desc, ksp, kpc, kpsr, kwim */ \
0, 0, 0, 0, 0, 0, 0, 0, \
/* fork_kpsr, fork_kwim */ \
@@ -154,7 +154,7 @@
extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
-#define copy_segments(__nr, __tsk, __mm) \
+#define copy_segments(__tsk, __mm) \
if((__tsk) == current && \
(__mm) != NULL) \
flush_user_windows()
@@ -162,6 +162,7 @@
#define forget_segments() do { } while (0)
#ifdef __KERNEL__
+#define THREAD_SIZE (2*PAGE_SIZE)
extern struct task_struct *last_task_used_math;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)