mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
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: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
f86d167bf1
commit
fcfd705d39
@ -454,12 +454,12 @@ static void __parasite_head __used parasite_head(void)
|
||||
".long 0 \n\t"
|
||||
"parasite_args: \n\t"
|
||||
".long 0 \n\t"
|
||||
".skip "__stringify(PARASITE_ARG_SIZE)",0 \n\t"
|
||||
".skip "__stringify(PARASITE_STACK_SIZE)", 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"
|
||||
".skip "__stringify(PARASITE_BRK_SIZE)", 0 \n\t"
|
||||
".space "__stringify(PARASITE_BRK_SIZE)", 0 \n\t"
|
||||
".long 0 \n\t");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user