Blame SOURCES/aarch64-page-size.patch

80ad36
diff --git a/Source/WTF/wtf/PageBlock.h b/Source/WTF/wtf/PageBlock.h
2ec4d1
index 9bb7fffcc1ae..3e1e24aa69f5 100644
80ad36
--- a/Source/WTF/wtf/PageBlock.h
80ad36
+++ b/Source/WTF/wtf/PageBlock.h
2ec4d1
@@ -45,11 +45,11 @@ namespace WTF {
2ec4d1
 // On Linux, Power systems normally use 64 KiB pages.
2ec4d1
 //
80ad36
 // Use 64 KiB for any unknown CPUs to be conservative.
2ec4d1
-#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS) || CPU(MIPS64) || (OS(LINUX) && CPU(ARM64))
2ec4d1
+#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS) || CPU(MIPS64)
80ad36
 constexpr size_t CeilingOnPageSize = 16 * KB;
d50d1f
-#elif CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
d50d1f
+#elif CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN) || CPU(ARM64)
80ad36
 constexpr size_t CeilingOnPageSize = 64 * KB;
d50d1f
-#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(RISCV64)
d50d1f
+#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(RISCV64)
80ad36
 constexpr size_t CeilingOnPageSize = 4 * KB;
80ad36
 #else
80ad36
 #error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture!