criu/arch/aarch64/include/asm
Christopher Covington 69d008d567 Use run-time page_size() for mremap
The old and new address parameters passed to the mremap system
call must be page size aligned. On AArch64, the page size can
only be correctly determined at run time. This fixes the following
errors for CRIU on AArch64 kernels with CONFIG_ARM64_64K_PAGES=y.

      call mremap(0x3ffb7d50000, 8192, 8192, MAYMOVE | FIXED, 0x2a000)
  Error (rst-malloc.c:201): Can't mremap rst mem: Invalid argument

      call mremap(0x3ffb7d90000, 8192, 8192, MAYMOVE | FIXED, 0x32000)
  Error (rst-malloc.c:201): Can't mremap rst mem: Invalid argument

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-07-28 13:38:30 +03:00
..
atomic.h arch:aarch64: add atomic_cmpxchg 2014-12-08 15:55:55 +03:00
bitops.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
bitsperlong.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
cpu.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
dump.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
fpu.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
int.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
linkage.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
page.h Use run-time page_size() for mremap 2015-07-28 13:38:30 +03:00
parasite-syscall.h Customize AArch64 VDSO code 2014-08-06 19:00:17 +04:00
parasite.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
processor-flags.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
restore.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
restorer.h aarch64: Fix restore for multithreaded processes 2015-01-12 14:51:57 +03:00
string.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
syscall-aux.h cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
syscall-aux.S cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
types.h Use run-time page size where it matters 2015-04-22 15:39:05 +03:00
vdso.h Customize AArch64 VDSO code 2014-08-06 19:00:17 +04:00