projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a34912
)
MN10300: Make cpu_relax() invoke barrier()
author
David Howells
<dhowells@redhat.com>
Wed, 7 May 2008 14:31:54 +0000
(15:31 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 8 May 2008 17:49:39 +0000
(10:49 -0700)
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>
include/asm-mn10300/processor.h
patch
|
blob
|
history
diff --git
a/include/asm-mn10300/processor.h
b/include/asm-mn10300/processor.h
index f1b081f53468b0713aef094f3abaaab338c4a72f..73239271873da304c88fe396eda7074686c3185a 100644
(file)
--- 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).