From 593c38cb95fc18383664dc63cf397be5a7175be5 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 16 Apr 2020 10:40:56 +0200 Subject: [PATCH] winebuild: Set page size to 4096 also on ARM64. Signed-off-by: Alexandre Julliard --- 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 be877080486..669520711c2 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 */ -- 2.11.4.GIT