* [PATCH 1/1] cr: define CKPT_ARCH_NSIG for s390x
@ 2009-06-25 18:48 Serge E. Hallyn
[not found] ` <20090625184847.GA11510-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Serge E. Hallyn @ 2009-06-25 18:48 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
Else compilation fails on s390x.
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
arch/s390/include/asm/checkpoint_hdr.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h
index fc0ace8..a5aaa3e 100644
--- a/arch/s390/include/asm/checkpoint_hdr.h
+++ b/arch/s390/include/asm/checkpoint_hdr.h
@@ -79,6 +79,8 @@ struct ckpt_hdr_mm_context {
unsigned long asce_limit;
};
+#define CKPT_ARCH_NSIG _SIGCONTEXT_NSIG
+
struct ckpt_hdr_header_arch {
struct ckpt_hdr h;
};
--
1.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] cr: define CKPT_ARCH_NSIG for s390x
[not found] ` <20090625184847.GA11510-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-06-26 2:08 ` Oren Laadan
[not found] ` <4A442D84.5010009-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Oren Laadan @ 2009-06-26 2:08 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: Linux Containers
Serge E. Hallyn wrote:
> Else compilation fails on s390x.
>
> Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> ---
> arch/s390/include/asm/checkpoint_hdr.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h
> index fc0ace8..a5aaa3e 100644
> --- a/arch/s390/include/asm/checkpoint_hdr.h
> +++ b/arch/s390/include/asm/checkpoint_hdr.h
> @@ -79,6 +79,8 @@ struct ckpt_hdr_mm_context {
> unsigned long asce_limit;
> };
>
> +#define CKPT_ARCH_NSIG _SIGCONTEXT_NSIG
> +
But _SIGCONTEXT_NSIG is defined within #ifdef __KERNEL__ ?
Oren.
> struct ckpt_hdr_header_arch {
> struct ckpt_hdr h;
> };
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] cr: define CKPT_ARCH_NSIG for s390x
[not found] ` <4A442D84.5010009-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
@ 2009-06-26 12:33 ` Serge E. Hallyn
0 siblings, 0 replies; 3+ messages in thread
From: Serge E. Hallyn @ 2009-06-26 12:33 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
Quoting Oren Laadan (orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org):
>
>
> Serge E. Hallyn wrote:
> > Else compilation fails on s390x.
> >
> > Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> > ---
> > arch/s390/include/asm/checkpoint_hdr.h | 2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h
> > index fc0ace8..a5aaa3e 100644
> > --- a/arch/s390/include/asm/checkpoint_hdr.h
> > +++ b/arch/s390/include/asm/checkpoint_hdr.h
> > @@ -79,6 +79,8 @@ struct ckpt_hdr_mm_context {
> > unsigned long asce_limit;
> > };
> >
> > +#define CKPT_ARCH_NSIG _SIGCONTEXT_NSIG
> > +
>
> But _SIGCONTEXT_NSIG is defined within #ifdef __KERNEL__ ?
hmm? hmm. right, indirectly, failed to notice that...
Well I don't really like to just hard define it to 64 especially
without leaving a note at the sigcontext.h NSIG defines...
Should we define both it and the x86 version in <asm/signal.h>
not under #ifdef __KERNEL__?
-serge
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-26 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 18:48 [PATCH 1/1] cr: define CKPT_ARCH_NSIG for s390x Serge E. Hallyn
[not found] ` <20090625184847.GA11510-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-26 2:08 ` Oren Laadan
[not found] ` <4A442D84.5010009-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-06-26 12:33 ` Serge E. Hallyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.