diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-28 08:24:58 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-28 08:24:58 -0700 |
| commit | 3f0c2c5bf51916b997219be6e06c2aa61da0b5c7 (patch) | |
| tree | 121c570869dc27081948064359fc311b397102f1 /include | |
| parent | 984e13d3641262e1309128296c350bba78f8e79f (diff) | |
Make "cpu_relax()" imply a barrier, since that's how it is
used.
This fixes a lockup in synchronize_irq() on x86.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index cec7bcacea21..4f7483f4b5a7 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h @@ -455,7 +455,7 @@ struct microcode { /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ static inline void rep_nop(void) { - __asm__ __volatile__("rep;nop"); + __asm__ __volatile__("rep;nop": : :"memory"); } #define cpu_relax() rep_nop() |
