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

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)