Commit 536eaa0f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

parasite: Shrink too long lines in bootstrap code

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b89d8394
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment