[haveged/f16] fix s390 asm constraint

Dan Horák sharkcz at fedoraproject.org
Sun Nov 27 22:10:58 UTC 2011


commit 8354f925e20029691289f7c8169aa373c31be7fa
Author: Dan Horák <dan at danny.cz>
Date:   Sun Nov 27 23:09:01 2011 +0100

    fix s390 asm constraint

 haveged-1.3_s390.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/haveged-1.3_s390.patch b/haveged-1.3_s390.patch
index 86bc27a..0037db0 100644
--- a/haveged-1.3_s390.patch
+++ b/haveged-1.3_s390.patch
@@ -35,7 +35,7 @@ diff -up haveged-1.3/src/havegecollect.h.s390 haveged-1.3/src/havegecollect.h
  
 +#ifdef HAVE_ISA_S390
 +#define ARCH "s390"
-+#define HARDCLOCK(x) { unsigned long long tsc; ASM("stck %0":"=Q"(tsc)); x = (unsigned int)tsc; }
++#define HARDCLOCK(x) { unsigned long long tsc; ASM("stck %0":"=Q"(tsc)::"cc"); x = (unsigned int)tsc; }
 +#endif
 +
  #ifdef HAVE_ISA_IA64


More information about the scm-commits mailing list