criu/pie
Laurent Dufour 7f01d691c7 vdso: Rework vdso processing files
There were multiple copy of the same code spread over the different
architectures handling the vDSO.

This patch is merging the duplicated code in arch/*/vdso-pie.c and
arch/*/include/asm/vdso.h in the common files and let only the architecture
specific part in the arch/*/* files.

The file are now organized this way:

include/asm-generic/vdso.h
	contains basic definition which could be overwritten by
	architectures.

arch/*/include/asm/vdso.h
	contains per architecture definitions.
	It may includes include/asm-generic/vdso.h

pie/util-vdso.c
include/util-vdso.h
	These files contains code and definitions common to both criu and
	the parasite code.
	The file include/util-vdso.h includes arch/*/include/asm/vdso.h.

pie/parsite-vdso.c
include/parasite-vdso.h
	contains code and definition specific to the parasite code handling
	the vDSO.
	The file include/parasite-vdso.h includes include/util-vdso.h.

arch/*/vdso-pie.c
	contains the architecture specific code installing the vDSO
	trampoline.

vdso.c
include/vdso.h
	contains code and definition specific to the criu code handling the
	vDSO.
	The file include/vdso.h includes include/util-vdso.h.

CC: Christopher Covington <cov@codeaurora.org>
CC: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-09-10 14:07:22 +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 vdso: Rework vdso processing files 2015-09-10 14:07:22 +03:00
parasite-vdso.c vdso: Rework vdso processing files 2015-09-10 14:07:22 +03:00
parasite.c vdso: Rework vdso processing files 2015-09-10 14:07:22 +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 Pass task_size to vma_area_is_private() 2015-08-03 17:14:18 +03:00
util-fd.c util-fd: Use standard BUG_ON instead of hand-made 2015-03-04 17:50:06 +03:00
util-vdso.c vdso: Rework vdso processing files 2015-09-10 14:07:22 +03:00
util.c criu: Drop redundant newline from pr_perror 2014-08-22 19:22:39 +04:00