[CRIU] [PATCH 6/8] pie: x86-32 -- Prepare parasite head
Cyrill Gorcunov
gorcunov at gmail.com
Fri May 15 04:33:02 PDT 2015
On Fri, May 15, 2015 at 02:25:51PM +0300, Pavel Emelyanov wrote:
> On 05/11/2015 07:06 PM, Cyrill Gorcunov wrote:
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> > arch/x86/include/asm/parasite.h | 4 ++++
> > arch/x86/parasite-head.S | 23 +++++++++++++++++++++++
> > pie/parasite.c | 6 +++++-
> > 3 files changed, 32 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/x86/include/asm/parasite.h b/arch/x86/include/asm/parasite.h
> > index 48e48ac988b7..669ae63e26cc 100644
> > --- a/arch/x86/include/asm/parasite.h
> > +++ b/arch/x86/include/asm/parasite.h
> > @@ -1,6 +1,10 @@
> > #ifndef __ASM_PARASITE_H__
> > #define __ASM_PARASITE_H__
> >
> > +#ifdef CONFIG_X86_32
> > +# define __parasite_entry __attribute__((regparm(3)))
> > +#endif
>
> Some comment why this is required for 32-bit and NOT required for 64 is required :)
Different ABI. But sure. will add, thanks.
More information about the CRIU
mailing list