[CRIU] [PATCH 01/20] x86: moved x86-specific files into the directory arch/x86.
Pavel Emelyanov
xemul at parallels.com
Wed Dec 12 08:55:00 EST 2012
On 12/12/2012 05:34 PM, alekskartashov at parallels.com wrote:
> From: Alexander Kartashov <alekskartashov at parallels.com>
>
> The following files goes into the directory arch/x86 unmodified:
>
> * include/atomic.h,
> * include/linkage.h,
> * include/memcpy_64.h,
> * pie/parasite-head-x86-64.S,
> * include/processor-flags.h,
> * include/syscall-x86-64.def.
>
> Removed target architecture checks from the files:
>
> * include/image.h,
> * include/syscall-types.h.
>
> The following files are split into machine-independent (that goes into the directory arch/x86)
> and machine-dependent parts:
>
> * include/types.h --- machine dependent part is in the file arch/x86/arch-types.h,
> * include/bitops.h --- machine dependent part is in the file arch/x86/arch_bitops.h.
>
> The following files contain machine-dependent parts extracted from other sources:
>
> * arch/x86/arch_parasite.h --- contains machine-dependent part of the parasite;
> it's empty now and intended only to support multiarch builds.
> * arch/x86/arch_cr_dump.h --- contains machine-dependent parts of cr-dump.c.
> * arch/x86/restorer_private.h --- contains machine-dependent parts of the restorer.
> * arch/x86/arch_restorer.h --- contains machine-dependent parts of cr-restore.c.
>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
> arch/x86/Makefile.inc | 7 ++
> arch/x86/arch-types.h | 92 ++++++++++++++++++++
> arch/x86/arch_bitops.h | 45 ++++++++++
> arch/x86/arch_cr_dump.h | 163 ++++++++++++++++++++++++++++++++++
> arch/x86/arch_parasite.h | 6 ++
> arch/x86/arch_parasite_syscall.h | 79 +++++++++++++++++
> arch/x86/arch_restorer.h | 18 ++++
> arch/x86/atomic.h | 60 +++++++++++++
> arch/x86/linkage.h | 24 +++++
> arch/x86/memcpy_64.h | 22 +++++
> arch/x86/parasite-head.S | 24 +++++
> arch/x86/processor-flags.h | 28 ++++++
> arch/x86/restorer_private.h | 179 ++++++++++++++++++++++++++++++++++++++
> arch/x86/syscall-x86-64.def | 76 ++++++++++++++++
> include/atomic.h | 60 -------------
> include/bitops.h | 47 +---------
> include/image.h | 12 +--
> include/linkage.h | 24 -----
> include/memcpy_64.h | 22 -----
> include/processor-flags.h | 28 ------
> include/syscall-types.h | 4 -
> include/syscall-x86-64.def | 76 ----------------
> include/types.h | 68 +--------------
> pie/parasite-head-x86-64.S | 24 -----
> 24 files changed, 829 insertions(+), 359 deletions(-)
> create mode 100644 arch/x86/Makefile.inc
> create mode 100644 arch/x86/arch-types.h
> create mode 100644 arch/x86/arch_bitops.h
> create mode 100644 arch/x86/arch_cr_dump.h
> create mode 100644 arch/x86/arch_parasite.h
> create mode 100644 arch/x86/arch_parasite_syscall.h
> create mode 100644 arch/x86/arch_restorer.h
> create mode 100644 arch/x86/atomic.h
> create mode 100644 arch/x86/linkage.h
> create mode 100644 arch/x86/memcpy_64.h
> create mode 100644 arch/x86/parasite-head.S
> create mode 100644 arch/x86/processor-flags.h
> create mode 100644 arch/x86/restorer_private.h
> create mode 100644 arch/x86/syscall-x86-64.def
> delete mode 100644 include/atomic.h
> delete mode 100644 include/linkage.h
> delete mode 100644 include/memcpy_64.h
> delete mode 100644 include/processor-flags.h
> delete mode 100644 include/syscall-x86-64.def
> delete mode 100644 pie/parasite-head-x86-64.S
Git can generate diffs that are renames aware. Plz, regenerate this patch only
with this option turned on and resend.
More information about the CRIU
mailing list