summary refs log tree commit diff stats
path: root/pc-bios/s390-ccw/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc-bios/s390-ccw/helper.h')
-rw-r--r--pc-bios/s390-ccw/helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc-bios/s390-ccw/helper.h b/pc-bios/s390-ccw/helper.h
index dfcfea0ff0..3d0731c4c6 100644
--- a/pc-bios/s390-ccw/helper.h
+++ b/pc-bios/s390-ccw/helper.h
@@ -31,7 +31,7 @@ static inline void *u32toptr(uint32_t n)
 
 static inline void yield(void)
 {
-    asm volatile ("diag 0,0,0x44"
+    asm volatile ("diag %%r0,%%r0,0x44"
                   : :
                   : "memory", "cc");
 }