mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
14 lines
376 B
Diff
14 lines
376 B
Diff
diff --git a/liboil/liboilcpu-misc.c b/liboil/liboilcpu-misc.c
|
|
index 97b740c..9333b13 100644
|
|
--- a/liboil/liboilcpu-misc.c
|
|
+++ b/liboil/liboilcpu-misc.c
|
|
@@ -87,7 +87,7 @@ static unsigned long
|
|
oil_profile_stamp_s390(void)
|
|
{
|
|
uint64_t ts;
|
|
- __asm__ __volatile__ ("STCK %0(%0)\n" : : "r" (&ts));
|
|
+ __asm__ __volatile__ ("STCK %0\n" : "=Q" (ts) :: "cc");
|
|
return ts;
|
|
}
|
|
|