Browse Source

Reunify BUFFERSIZE across arm64 platforms to avoid segfaults in DYNAMIC_ARCH

tags/v0.3.13^2
Martin Kroeker GitHub 4 years ago
parent
commit
7f26be4802
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      common_arm64.h

+ 0
- 6
common_arm64.h 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




Loading…
Cancel
Save