patch-2.4.21 linux-2.4.21/include/asm-alpha/processor.h
Next file: linux-2.4.21/include/asm-alpha/regdef.h
Previous file: linux-2.4.21/include/asm-alpha/pci.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
2003-06-13 07:51:38.000000000 -0700
-  Orig file: 
linux-2.4.20/include/asm-alpha/processor.h
-  Orig date: 
2001-10-05 12:11:05.000000000 -0700
diff -urN linux-2.4.20/include/asm-alpha/processor.h linux-2.4.21/include/asm-alpha/processor.h
@@ -119,7 +119,7 @@
 extern void release_thread(struct task_struct *);
 
 /* Create a kernel thread without removing it from tasklists.  */
-extern long kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
+extern long arch_kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
 
 #define copy_segments(tsk, mm)		do { } while (0)
 #define release_segments(mm)		do { } while (0)
@@ -148,7 +148,7 @@
 #define init_task	(init_task_union.task)
 #define init_stack	(init_task_union.stack)
 
-#define cpu_relax()	do { } while (0)
+#define cpu_relax()	barrier()
 
 #define ARCH_HAS_PREFETCH
 #define ARCH_HAS_PREFETCHW
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)