aboutsummaryrefslogtreecommitdiffstats
path: root/science/gromacs/files/patch-include__gmx_cyclecounter.h
diff options
context:
space:
mode:
Diffstat (limited to 'science/gromacs/files/patch-include__gmx_cyclecounter.h')
-rw-r--r--science/gromacs/files/patch-include__gmx_cyclecounter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/gromacs/files/patch-include__gmx_cyclecounter.h b/science/gromacs/files/patch-include__gmx_cyclecounter.h
new file mode 100644
index 000000000000..2af9cede4307
--- /dev/null
+++ b/science/gromacs/files/patch-include__gmx_cyclecounter.h
@@ -0,0 +1,11 @@
+--- ./include/gmx_cyclecounter.h.orig 2009-03-31 13:25:55.036329291 +0200
++++ ./include/gmx_cyclecounter.h 2009-03-31 13:26:11.504803886 +0200
+@@ -408,7 +408,7 @@
+ static __inline__ gmx_cycles_t gmx_cycles_read(void)
+ {
+ /* gcc inline assembly on sparc v9 */
+- ticks ret;
++ gmx_cycles_t ret;
+ __asm__("rd %%tick, %0" : "=r" (ret));
+ return ret;
+ }