mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
compel: arch, x86 -- Don't require compat frame alignment
Acked-by: Dmitry Safonov <dsafonov@virtuozzo.com> Acked-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
9f6edce06c
commit
88014eb029
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ int sigreturn_prep_fpu_frame_plain(struct rt_sigframe *sigframe,
|
|||
|
||||
if (sigframe->is_native && (addr % 64ul) == 0ul) {
|
||||
sigframe->native.uc.uc_mcontext.fpstate = &fpu_state->xsave;
|
||||
} else if (!sigframe->is_native && (addr % 32ul) == 0ul) {
|
||||
} else if (!sigframe->is_native) {
|
||||
sigframe->compat.uc.uc_mcontext.fpstate = (uint32_t)addr;
|
||||
} else {
|
||||
pr_err("Unaligned address passed: %lx (native %d)\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue