Package: perftest Version: 3.0+0.16.gb2f2e82-1 Severity: important Tags: patch
In addition to the patch in #814537, the attached patch is needed to fix building on s390x.
From: dann frazier <dann.fraz...@canonical.com> Subject: [PATCH] perftest: Fix typos in s390x support Commit 472171fbd5a8 added support for s390x systems, but it looks like the changeset got corrupted between submit and commit, resulting in a compile failure. The version on the mailing list looks fine: http://www.spinics.net/lists/linux-rdma/msg19592.html Signed-off-by: dann frazier <dann.fraz...@canonical.com> Bug-Ubuntu: 1545010 Forwarded: http://www.spinics.net/lists/linux-rdma/msg33357.html Last-Update: 2016-02-12 Index: perftest-3.0+0.9.g214990b/README =================================================================== --- perftest-3.0+0.9.g214990b.orig/README +++ perftest-3.0+0.9.g214990b/README @@ -237,7 +237,7 @@ Special feature detailed explanation in ./configure --disable-verbs_exp make - 6. In te x390x platform virtualized environment the results shown by package test applications can be incorrect. + 6. In the s390x platform virtualized environment the results shown by package test applications can be incorrect. 7. perftest-2.3 release includes support for dualport VPI test - port1-Ethernet , port2-IB. (in addition to Eth:Eth, IB:IB) Currently, running dualport when port1-IB , port2-Ethernet still not working. Index: perftest-3.0+0.9.g214990b/src/get_clock.c =================================================================== --- perftest-3.0+0.9.g214990b.orig/src/get_clock.c +++ perftest-3.0+0.9.g214990b/src/get_clock.c @@ -205,7 +205,7 @@ static double proc_get_cpu_mhz(int no_cp double get_cpu_mhz(int no_cpu_freq_fail) { #ifdef __s390x__ - return sample_get_cpu_mgz(); + return sample_get_cpu_mhz(); #else double sample, proc, delta; sample = sample_get_cpu_mhz();