Skip to contentSkip to conversation

MN10300: Make cpu_relax() invoke barrier()

PATCH New David Howells 1 participant 1 message May 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MN10300: Make cpu_relax() invoke barrier()

Make cpu_relax() invoke barrier() to be the same as other arches.

---

 include/asm-mn10300/processor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-mn10300/processor.h +1 -1
index f1b081f..7323927 100644
@@ -58,7 +58,7 @@ extern struct mn10300_cpuinfo boot_cpu_data;
 extern void identify_cpu(struct mn10300_cpuinfo *);
 extern void print_cpu_info(struct mn10300_cpuinfo *);
 extern void dodgy_tsc(void);
-#define cpu_relax() do {} while (0)
+#define cpu_relax() barrier()
 
 /*
  * User space process size: 1.75GB (default).