parent
99ce959913
commit
f0503a6a28
|
@ -754,7 +754,7 @@ bool ARMJIT_Memory::IsFastMemSupported()
|
||||||
PageSize = RegularPageSize;
|
PageSize = RegularPageSize;
|
||||||
#else
|
#else
|
||||||
PageSize = __sysconf(_SC_PAGESIZE);
|
PageSize = __sysconf(_SC_PAGESIZE);
|
||||||
isSupported = PageShift == RegularPageSize || PageSize == LargePageSize;
|
isSupported = PageSize == RegularPageSize || PageSize == LargePageSize;
|
||||||
#endif
|
#endif
|
||||||
PageShift = __builtin_ctz(PageSize);
|
PageShift = __builtin_ctz(PageSize);
|
||||||
initialised = true;
|
initialised = true;
|
||||||
|
|
Loading…
Reference in New Issue