summaryrefslogtreecommitdiffstats
path: root/include/asm-mn10300
diff options
context:
space:
mode:
authorDavid Howells2008-05-07 16:31:54 +0200
committerLinus Torvalds2008-05-08 19:49:39 +0200
commit148c69b4b0ec267b08d3619651ae4a10a1768b04 (patch)
treeb838a43b37576bb11d7fa1309e71475d80e8ba30 /include/asm-mn10300
parentMerge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block (diff)
downloadkernel-qcow2-linux-148c69b4b0ec267b08d3619651ae4a10a1768b04.tar.gz
kernel-qcow2-linux-148c69b4b0ec267b08d3619651ae4a10a1768b04.tar.xz
kernel-qcow2-linux-148c69b4b0ec267b08d3619651ae4a10a1768b04.zip
MN10300: Make cpu_relax() invoke barrier()
Make cpu_relax() invoke barrier() to be the same as other arches. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-mn10300')
-rw-r--r--include/asm-mn10300/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mn10300/processor.h b/include/asm-mn10300/processor.h
index f1b081f53468..73239271873d 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).