patch-2.4.22 linux-2.4.22/include/asm-sparc64/processor.h
Next file: linux-2.4.22/include/asm-x86_64/acpi.h
Previous file: linux-2.4.22/include/asm-sparc64/page.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-sparc64/processor.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-sparc64/processor.h linux-2.4.22/include/asm-sparc64/processor.h
@@ -322,7 +322,7 @@
#define init_task (init_task_union.task)
#define init_stack (init_task_union.stack)
-#define cpu_relax() udelay(1 + smp_processor_id())
+#define cpu_relax() do { udelay(1 + smp_processor_id()); barrier(); } while (0)
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)