Reunify BUFFERSIZE across arm64 platforms to avoid segfaults in DYNAMIC_ARCH

This commit is contained in:
Martin Kroeker 2020-11-01 00:00:43 +01:00 committed by GitHub
parent 9efc3f0815
commit 7f26be4802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

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