From 6adcad498c6c68aaff1bd3bd1c97880717a09a71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
Date: Tue, 5 May 2015 23:50:36 +0200
Subject: [PATCH] server: Allow 32-bit connections on ARM64.

---
 server/process.h | 2 +-
 server/thread.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/process.h b/server/process.h
index 59625f0af6d..fa7f60df50c 100644
--- a/server/process.h
+++ b/server/process.h
@@ -107,7 +107,7 @@ struct process_snapshot
 };
 
 #define CPU_FLAG(cpu) (1 << (cpu))
-#define CPU_64BIT_MASK CPU_FLAG(CPU_x86_64)
+#define CPU_64BIT_MASK (CPU_FLAG(CPU_x86_64) | CPU_FLAG(CPU_ARM64))
 
 /* process functions */
 
diff --git a/server/thread.c b/server/thread.c
index 906b79dad6d..6c5d12d0eeb 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -62,7 +62,7 @@ static const unsigned int supported_cpus = CPU_FLAG(CPU_POWERPC);
 #elif defined(__arm__)
 static const unsigned int supported_cpus = CPU_FLAG(CPU_ARM);
 #elif defined(__aarch64__)
-static const unsigned int supported_cpus = CPU_FLAG(CPU_ARM64);
+static const unsigned int supported_cpus = CPU_FLAG(CPU_ARM64) | CPU_FLAG(CPU_ARM);
 #else
 #error Unsupported CPU
 #endif
-- 
GitLab