[PATCH] perftest: Fix typos in s390x support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.frazier@xxxxxxxxxxxxx>
---
 README          | 2 +-
 src/get_clock.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 935379f..0447e7f 100644
--- a/README
+++ b/README
@@ -237,7 +237,7 @@ Special feature detailed explanation in tests:
     ./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.
diff --git a/src/get_clock.c b/src/get_clock.c
index 9b0c23e..fd27be1 100755
--- a/src/get_clock.c
+++ b/src/get_clock.c
@@ -201,7 +201,7 @@ static double proc_get_cpu_mhz(int no_cpu_freq_warn)
 double get_cpu_mhz(int no_cpu_freq_warn)
 {
 	#ifdef __s390x__
-	return sample_get_cpu_mgz();
+	return sample_get_cpu_mhz();
 	#else
 	double sample, proc, delta;
 	sample = sample_get_cpu_mhz();
-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux