~ubuntu-branches/ubuntu/wily/zeromq3/wily-proposed

« back to all changes in this revision

Viewing changes to debian/patches/03_fix-s390-rdtsc.patch

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2014-03-16 14:02:28 UTC
  • mfrom: (1.1.6) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140316140228-ig1sgh7czk59m9ux
Tags: 4.0.4+dfsg-1
* QA upload; orphan the package
  - Upload to unstable
* New upstream release
* Update repack.stub script
* Drop 02_fix-exported-symbols.patch and 03_fix-s390-rdtsc.patch
  (merged upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Fix timestamp counter on s390(x)
2
 
Origin: vendor
3
 
Bug: https://github.com/zeromq/libzmq/issues/811
4
 
Bug-Debian: http://bugs.debian.org/734521
5
 
Forwarded: https://github.com/zeromq/libzmq/pull/818
6
 
Author: Alessandro Ghedini <ghedo@debian.org>
7
 
Last-Update: 2014-01-12
8
 
 
9
 
--- a/src/clock.cpp
10
 
+++ b/src/clock.cpp
11
 
@@ -139,7 +139,6 @@
12
 
 #elif defined(__s390__)
13
 
     uint64_t tsc;
14
 
     asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
15
 
-    tsc >>= 12;                /* convert to microseconds just to be consistent */
16
 
     return(tsc);
17
 
 #else
18
 
     return 0;