criu/pie
Christopher Covington b61224bffe Use run-time page_size() in pie_size()
This fixes the following error for CRIU on AArch64 kernels with
CONFIG_ARM64_64K_PAGES=y.

  Error (cr-restore.c:2828): Can't mmap section for restore code

This occurred because the address being requested (0x16000 in
one case) was not page aligned.

Also change the capitalization of the pie_size() macro to make it
clear that the value is not necessarily a build-time constant.

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:20 +03:00
..
piegen pie: piegen -- Fix memory leak 2015-07-13 14:53:45 +03:00
log-simple.c pie: add printf-like functionality to simple_buf 2015-06-16 12:17:35 +03:00
Makefile make: Be able to force turning off piegen 2015-06-19 12:22:54 +03:00
parasite.c pie: x86-32 -- Prepare parasite head 2015-06-08 23:53:21 +03:00
pie-reloc.lds.S.in ppc64: pie -- Move the TOC in its own section 2015-06-08 23:53:29 +03:00
pie-relocs.c pie: piegen -- Slightly rework the building procedure 2015-06-08 23:53:27 +03:00
pie-relocs.h Use run-time page_size() in pie_size() 2015-07-28 13:38:20 +03:00
pie.lds.S.in arch/ppc64: Add PowerPC 64 LE support 2015-04-30 09:57:49 +03:00
restorer.c rst: don't hang when SIGCHLD is coalesced 2015-07-23 15:17:55 +03:00
util-fd.c util-fd: Use standard BUG_ON instead of hand-made 2015-03-04 17:50:06 +03:00
util.c criu: Drop redundant newline from pr_perror 2014-08-22 19:22:39 +04:00