Commit 74e23867 authored by Andrey Vagin's avatar Andrey Vagin

restorer: correct indentions

The previouse patch doesn't change it to simplify review
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 01484182
...@@ -52,8 +52,8 @@ long restore_thread(struct thread_restore_args *args) ...@@ -52,8 +52,8 @@ long restore_thread(struct thread_restore_args *args)
rt_sigframe = (void *)args->mem_zone.rt_sigframe + 8; rt_sigframe = (void *)args->mem_zone.rt_sigframe + 8;
#define CPREGT1(d) rt_sigframe->uc.uc_mcontext.d = core_entry->u.arch.gpregs.d #define CPREGT1(d) rt_sigframe->uc.uc_mcontext.d = core_entry->u.arch.gpregs.d
#define CPREGT2(d,s) rt_sigframe->uc.uc_mcontext.d = core_entry->u.arch.gpregs.s #define CPREGT2(d,s) rt_sigframe->uc.uc_mcontext.d = core_entry->u.arch.gpregs.s
CPREGT1(r8); CPREGT1(r8);
CPREGT1(r9); CPREGT1(r9);
...@@ -104,7 +104,7 @@ long restore_thread(struct thread_restore_args *args) ...@@ -104,7 +104,7 @@ long restore_thread(struct thread_restore_args *args)
: :
: "r"(new_sp) : "r"(new_sp)
: "rax","rsp","memory"); : "rax","rsp","memory");
core_restore_end: core_restore_end:
write_num_n(__LINE__); write_num_n(__LINE__);
write_num_n(sys_getpid()); write_num_n(sys_getpid());
for (;;) for (;;)
......
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