Commit fcfd705d authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

parasite.c: use .space not .skip for inline asm

In the beginning it was the Word, and the Word was .space.
Later, .skip was introduced as a synonym for .space,
initially only for 680x0 platform.

But the sole reason for this patch is that I use clang/llvm
to check the code and unfortunately it does not understand .skip,
printing long ugly warnings I'd like to avoid.
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent f86d167b
...@@ -454,12 +454,12 @@ static void __parasite_head __used parasite_head(void) ...@@ -454,12 +454,12 @@ static void __parasite_head __used parasite_head(void)
".long 0 \n\t" ".long 0 \n\t"
"parasite_args: \n\t" "parasite_args: \n\t"
".long 0 \n\t" ".long 0 \n\t"
".skip "__stringify(PARASITE_ARG_SIZE)",0 \n\t" ".space "__stringify(PARASITE_ARG_SIZE)",0 \n\t"
".skip "__stringify(PARASITE_STACK_SIZE)", 0 \n\t" ".space "__stringify(PARASITE_STACK_SIZE)", 0 \n\t"
"parasite_stack: \n\t" "parasite_stack: \n\t"
".long 0 \n\t" ".long 0 \n\t"
"parasite_brk: \n\t" "parasite_brk: \n\t"
".skip "__stringify(PARASITE_BRK_SIZE)", 0 \n\t" ".space "__stringify(PARASITE_BRK_SIZE)", 0 \n\t"
".long 0 \n\t"); ".long 0 \n\t");
} }
......
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