Author: Richard Plangger <[email protected]>
Branch: ppc-vsx-support
Changeset: r87933:0a8db3e80616
Date: 2016-10-25 16:26 +0200
http://bitbucket.org/pypy/pypy/changeset/0a8db3e80616/
Log: yes, we should really read from the cpuinfo file, not from some
other file!
diff --git a/rpython/translator/platform/arch/s390x.py
b/rpython/translator/platform/arch/s390x.py
--- a/rpython/translator/platform/arch/s390x.py
+++ b/rpython/translator/platform/arch/s390x.py
@@ -42,7 +42,7 @@
def s390x_detect_vx():
chunks = []
try:
- fd = os.open("/proc/self/auxv", os.O_RDONLY, 0644)
+ fd = os.open("/proc/cpuinfo", os.O_RDONLY, 0644)
try:
while True:
chunk = os.read(fd, 4096)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit