cr: define CKPT_ARCH_NSIG for s390x
PATCH 1/1 cr: define CKPT_ARCH_NSIG for s390x
Else compilation fails on s390x.
--- arch/s390/include/asm/checkpoint_hdr.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/s390/include/asm/checkpoint_hdr.h +2 -0
@@ -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; };
Signature · 1 line
1.6.1
A message that is not in the archive (sent off-list or not yet received): 20090625184847.GA11510-r/[email protected]
Quoted 12 lines · Serge E. Hallyn
Else compilation fails on s390x.
Signed-off-by Serge E. Hallyn <serue-r/[email protected]>--- arch/s390/include/asm/checkpoint_hdr.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/s390/include/asm/checkpoint_hdr.h +0
-0
arch/s390/include/asm/checkpoint_hdr.h struct ckpt_hdr_mm_context { · line 83
Quoted 5 lines
arch/s390/include/asm/checkpoint_hdr.h +2
-0@@ -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.
Quoted 3 lines
arch/s390/include/asm/checkpoint_hdr.h +0
-0struct ckpt_hdr_header_arch {struct ckpt_hdr h; };
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Oren Laadan
Quoted 15 lines · Serge E. Hallyn
Else compilation fails on s390x.
Signed-off-by Serge E. Hallyn <serue-r/[email protected]>--- arch/s390/include/asm/checkpoint_hdr.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/s390/include/asm/checkpoint_hdr.h +0
-0@@ -79,6 +79,8 @@ struct ckpt_hdr_mm_context {unsigned long asce_limit; };
Quoted 4 lines
arch/s390/include/asm/checkpoint_hdr.h struct ckpt_hdr_mm_context { · line 83
Quoted 2 lines
arch/s390/include/asm/checkpoint_hdr.h +2
-0+#define CKPT_ARCH_NSIG _SIGCONTEXT_NSIG +But
_SIGCONTEXT_NSIGis 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