Commit 593c38cb authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Set page size to 4096 also on ARM64.

parent 5d0e10b7
...@@ -1015,19 +1015,7 @@ unsigned int get_alignment(unsigned int align) ...@@ -1015,19 +1015,7 @@ unsigned int get_alignment(unsigned int align)
/* return the page size for the target CPU */ /* return the page size for the target CPU */
unsigned int get_page_size(void) unsigned int get_page_size(void)
{ {
switch(target_cpu) return 0x1000; /* same on all platforms */
{
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 the size of a pointer on the target CPU */ /* return the size of a pointer on the target CPU */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment