patch-2.1.87 linux/include/asm-m68k/processor.h

Next file: linux/include/asm-m68k/ptrace.h
Previous file: linux/include/asm-m68k/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/include/asm-m68k/processor.h linux/include/asm-m68k/processor.h
@@ -48,7 +48,7 @@
 
 #define INIT_TSS  { \
 	sizeof(init_stack) + (unsigned long) init_stack, 0, \
-	PS_S, KERNEL_DS, \
+	PS_S, __KERNEL_DS, \
 	{0, 0}, 0, {0,}, {0, 0, 0}, {0,}, \
 }
 
@@ -58,13 +58,6 @@
 static inline void start_thread(struct pt_regs * regs, unsigned long pc,
 				unsigned long usp)
 {
-	unsigned long nilstate = 0;
-
-	/* clear floating point state */
-	__asm__ __volatile__ (".chip 68k/68881\n\t"
-			      "frestore %0@\n\t"
-			      ".chip 68k" : : "a" (&nilstate));
-
 	/* reads from user space */
 	set_fs(USER_DS);
 
@@ -74,7 +67,16 @@
 }
 
 /* Free all resources held by a thread. */
-extern void release_thread(struct task_struct *);
+static inline void release_thread(struct task_struct *dead_task)
+{
+}
+
+/*
+ * Free current thread data structures etc..
+ */
+static inline void exit_thread(void)
+{
+}
 
 /*
  * Return saved PC of a blocked thread.

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