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