* [PATCH] MN10300: Make cpu_relax() invoke barrier()
@ 2008-05-07 14:31 David Howells
0 siblings, 0 replies; only message in thread
From: David Howells @ 2008-05-07 14:31 UTC (permalink / raw)
To: torvalds, akpm, bhutchings; +Cc: linux-am33-list, linux-kernel
Make cpu_relax() invoke barrier() to be the same as other arches.
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/asm-mn10300/processor.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-mn10300/processor.h b/include/asm-mn10300/processor.h
index f1b081f..7323927 100644
--- a/include/asm-mn10300/processor.h
+++ b/include/asm-mn10300/processor.h
@@ -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).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-07 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07 14:31 [PATCH] MN10300: Make cpu_relax() invoke barrier() David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®