mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-26 03:25:30 +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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue