Merge pull request #2963 from martin-frbg/issue2959

Reunify default BUFFER_SIZE on ARM64 to avoid crashes in DYNAMIC_ARCH mode
This commit is contained in:
Martin Kroeker
2020-11-01 09:14:54 +01:00
committed by GitHub

View File

@@ -142,14 +142,8 @@ REALNAME:
#define HUGE_PAGESIZE ( 4 << 20)
#ifndef BUFFERSIZE
#if defined(CORTEXA57)
#define BUFFER_SIZE (20 << 20)
#elif defined(TSV110) || defined(EMAG8180)
#define BUFFER_SIZE (32 << 20)
#else
#define BUFFER_SIZE (16 << 20)
#endif
#else
#define BUFFER_SIZE (32 << BUFFERSIZE)
#endif