diff options
Diffstat (limited to 'include/asm-s390/processor.h')
| -rw-r--r-- | include/asm-s390/processor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 8bd14de69e35..4ec652ebb3b1 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
| @@ -203,7 +203,10 @@ unsigned long get_wchan(struct task_struct *p); | |||
| 203 | # define cpu_relax() asm volatile ("diag 0,0,68" : : : "memory") | 203 | # define cpu_relax() asm volatile ("diag 0,0,68" : : : "memory") |
| 204 | #else /* __s390x__ */ | 204 | #else /* __s390x__ */ |
| 205 | # define cpu_relax() \ | 205 | # define cpu_relax() \ |
| 206 | asm volatile ("ex 0,%0" : : "i" (__LC_DIAG44_OPCODE) : "memory") | 206 | do { \ |
| 207 | if (MACHINE_HAS_DIAG44) \ | ||
| 208 | asm volatile ("diag 0,0,68" : : : "memory"); \ | ||
| 209 | } while (0) | ||
| 207 | #endif /* __s390x__ */ | 210 | #endif /* __s390x__ */ |
| 208 | 211 | ||
| 209 | /* | 212 | /* |
