Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r97019:3576fb517a7b
Date: 2019-07-24 13:03 +0200
http://bitbucket.org/pypy/pypy/changeset/3576fb517a7b/

Log:    Broken line, get_L2cache_linux2_cpuinfo_s390x() was never called.
        Comment it out entirely instead of fixing the call because it is
        unknown at this point if get_L2cache_linux2_cpuinfo_s390x() actually
        works on s390x.

diff --git a/rpython/memory/gc/env.py b/rpython/memory/gc/env.py
--- a/rpython/memory/gc/env.py
+++ b/rpython/memory/gc/env.py
@@ -137,8 +137,8 @@
         return get_L2cache_linux2_cpuinfo()
     if arch in ('alpha', 'ppc'):
         return get_L2cache_linux2_cpuinfo(label='L2 cache')
-    if arch in ('s390x'):
-        return get_L2cache_linux2_cpuinfo_s390x()
+    #if arch == 's390x':    untested
+    #    return get_L2cache_linux2_cpuinfo_s390x()
     if arch == 'ia64':
         return get_L2cache_linux2_ia64()
     if arch in ('parisc', 'parisc64'):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to