Reunify BUFFERSIZE across arm64 platforms to avoid segfaults in DYNAMIC_ARCH
This commit is contained in:
parent
9efc3f0815
commit
7f26be4802
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue