aboutsummaryrefslogtreecommitdiffstats
path: root/testing/csmith/fix-s390x-read_time.patch
blob: 8074f2b1a419d4f1d76f677603ae65d466636323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
http://bugs.debian.org/872604
--- csmith-2.3.0/src/platform.cpp.orig
+++ csmith-2.3.0/src/platform.cpp
@@ -79,7 +79,7 @@
 static unsigned long long read_time(void)
 {
 	unsigned long long clk;
-	asm volatile("stckf %0" : "=Q" (clk) : : "cc");
+	asm volatile("stck %0" : "=Q" (clk) : : "cc");
 	return clk;
 }
 #  elif defined(__i386__) || defined(__x86_64__)