0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-07 16:11:56 +00:00
Files
termux-packages/packages/pypy3/0010-do-not-try-to-get-L2-cache-on-Android.patch
2025-07-27 22:58:42 +08:00

12 lines
450 B
Diff

--- a/rpython/memory/gc/env.py
+++ b/rpython/memory/gc/env.py
@@ -140,7 +140,7 @@
return get_L2cache_linux2_cpuinfo(label='L2 cache')
#if arch == 's390x': untested
# return get_L2cache_linux2_cpuinfo_s390x()
- if arch in ('ia64', 'aarch64'):
+ if arch in ('ia64'):
return get_L2cache_linux2_system_cpu_index()
if arch in ('parisc', 'parisc64'):
return get_L2cache_linux2_cpuinfo(label='D-cache')