From: David Howells Date: Wed, 7 May 2008 14:31:54 +0000 (+0100) Subject: MN10300: Make cpu_relax() invoke barrier() X-Git-Tag: v2.6.26-rc2~32 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=148c69b4b0ec267b08d3619651ae4a10a1768b04;p=linux-2.6-omap-h63xx.git MN10300: Make cpu_relax() invoke barrier() Make cpu_relax() invoke barrier() to be the same as other arches. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- diff --git a/include/asm-mn10300/processor.h b/include/asm-mn10300/processor.h index f1b081f5346..73239271873 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).