Alexandre Julliard : winebuild: Set page size to 4096 also on ARM64.

Alexandre Julliard julliard at winehq.org
Thu Apr 16 16:45:12 CDT 2020


Module: wine
Branch: master
Commit: 593c38cb95fc18383664dc63cf397be5a7175be5
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=593c38cb95fc18383664dc63cf397be5a7175be5

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr 16 10:40:56 2020 +0200

winebuild: Set page size to 4096 also on ARM64.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winebuild/utils.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index be87708048..669520711c 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -1015,19 +1015,7 @@ unsigned int get_alignment(unsigned int align)
 /* return the page size for the target CPU */
 unsigned int get_page_size(void)
 {
-    switch(target_cpu)
-    {
-    case CPU_x86:
-    case CPU_x86_64:
-    case CPU_POWERPC:
-    case CPU_ARM:
-        return 0x1000;
-    case CPU_ARM64:
-        return 0x10000;
-    }
-    /* unreached */
-    assert(0);
-    return 0;
+    return 0x1000;  /* same on all platforms */
 }
 
 /* return the size of a pointer on the target CPU */




More information about the wine-cvs mailing list