projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93896c1
)
Remove rep_nop() (GPL)
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Wed, 13 May 2009 17:38:50 +0000
(13:38 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Wed, 13 May 2009 17:38:50 +0000
(13:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
arch_x86.h
patch
|
blob
|
blame
|
history
diff --git
a/arch_x86.h
b/arch_x86.h
index cc3ab012c557f38db5df6c7b5c829a13ceaf511a..9e0079d6a5a7fc8fee6e81e0ea26d80995446450 100644
(file)
--- a/
arch_x86.h
+++ b/
arch_x86.h
@@
-84,12
+84,6
@@
/* Nop everywhere except on alpha. */
#define smp_read_barrier_depends()
-/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
-static inline void rep_nop(void)
-{
- asm volatile("rep; nop" ::: "memory");
-}
-
static inline void cpu_relax(void)
{
rep_nop();
This page took
0.025732 seconds
and
4
git commands to generate.