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; }