[PATCH] M68k cpu_relax()

From: Geert Uytterhoeven
Date: Fri Aug 29 2003 - 10:05:02 EST


M68k: Make cpu_relax() compatible with 2.6.

--- linux-2.4.23-pre1/include/asm-m68k/processor.h Sun Apr 6 10:29:45 2003
+++ linux-m68k-2.4.23-pre1/include/asm-m68k/processor.h Wed Jul 23 18:26:22 2003
@@ -156,6 +156,6 @@
#define init_task (init_task_union.task)
#define init_stack (init_task_union.stack)

-#define cpu_relax() do { } while (0)
+#define cpu_relax() barrier()

#endif

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/