|
@@ -35,7 +35,7 @@
|
|
extern int daemon(int, int);
|
|
extern int daemon(int, int);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(__linux__) && defined(__x86_64__)
|
|
|
|
|
|
+#if defined(__linux__) && (defined(__x86_64__) || defined(__arm__))
|
|
/* Use 2 MiB alignment so transparent hugepages can be used by KVM.
|
|
/* Use 2 MiB alignment so transparent hugepages can be used by KVM.
|
|
Valgrind does not support alignments larger than 1 MiB,
|
|
Valgrind does not support alignments larger than 1 MiB,
|
|
therefore we need special code which handles running on Valgrind. */
|
|
therefore we need special code which handles running on Valgrind. */
|