Skip to content

Commit

Permalink
MN10300: Make cpu_relax() invoke barrier()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells authored and Linus Torvalds committed May 8, 2008
1 parent 7a34912 commit 148c69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mn10300/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 148c69b

Please sign in to comment.