[CRIU] [crtools-bot for Cyrill Gorcunov ] parasite: Shrink too long lines in bootstrap code

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 14 08:18:09 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 536eaa0f037743137ab12d8e5149fa41577da7eb
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Thu Feb 9 18:08:31 2012 +0400

    parasite: Shrink too long lines in bootstrap code
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
 parasite.c |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/parasite.c b/parasite.c
index 2b4c639..ba2bacd 100644
--- a/parasite.c
+++ b/parasite.c
@@ -441,28 +441,28 @@ static void __parasite_head __used parasite_head(void)
 	/*
 	 * The linker will handle the stack allocation.
 	 */
-	asm volatile("parasite_head_start:							\n\t"
-		     "leaq parasite_stack(%rip), %rsp						\n\t"
-		     "pushq $0									\n\t"
-		     "movq %rsp, %rbp								\n\t"
-		     "movl parasite_cmd(%rip), %edi						\n\t"
-		     "leaq parasite_args(%rip), %rsi						\n\t"
-		     "leaq parasite_brk(%rip), %rdx						\n\t"
-		     "call parasite_service							\n\t"
-		     "parasite_service_complete:						\n\t"
-		     "int $0x03									\n\t"
-		     ".align 8									\n\t"
-		     "parasite_cmd:								\n\t"
-		     ".long 0									\n\t"
-		     "parasite_args:								\n\t"
-		     ".long 0									\n\t"
-		     ".space "__stringify(PARASITE_ARG_SIZE)",0					\n\t"
-		     ".space "__stringify(PARASITE_STACK_SIZE)", 0				\n\t"
-		     "parasite_stack:								\n\t"
-		     ".long 0									\n\t"
-		     "parasite_brk:								\n\t"
-		     ".space "__stringify(PARASITE_BRK_SIZE)", 0				\n\t"
-		     ".long 0									\n\t");
+	asm volatile("parasite_head_start:				\n"
+		     "leaq parasite_stack(%rip), %rsp			\n"
+		     "pushq $0						\n"
+		     "movq %rsp, %rbp					\n"
+		     "movl parasite_cmd(%rip), %edi			\n"
+		     "leaq parasite_args(%rip), %rsi			\n"
+		     "leaq parasite_brk(%rip), %rdx			\n"
+		     "call parasite_service				\n"
+		     "parasite_service_complete:			\n"
+		     "int $0x03						\n"
+		     ".align 8						\n"
+		     "parasite_cmd:					\n"
+		     ".long 0						\n"
+		     "parasite_args:					\n"
+		     ".long 0						\n"
+		     ".space "__stringify(PARASITE_ARG_SIZE)",0		\n"
+		     ".space "__stringify(PARASITE_STACK_SIZE)", 0	\n"
+		     "parasite_stack:					\n"
+		     ".long 0						\n"
+		     "parasite_brk:					\n"
+		     ".space "__stringify(PARASITE_BRK_SIZE)", 0	\n"
+		     ".long 0						\n");
 }
 
 #else /* CONFIG_X86_64 */


More information about the CRIU mailing list