From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
Cc: Linux Containers
<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 1/1] s390 c/r: fix up v14
Date: Tue, 24 Mar 2009 11:16:11 -0500 [thread overview]
Message-ID: <20090324161611.GA19751@us.ibm.com> (raw)
Make a few changes to the s390 c/r code to reflect v14 changes.
CONFIG_CHECKPOINT_RESTART is now CONFIG_CHECKPOINT, and 'parent'
is gone.
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
arch/s390/mm/Makefile | 2 +-
arch/s390/mm/checkpoint.c | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/s390/mm/Makefile b/arch/s390/mm/Makefile
index 040fbb7..b16161e 100644
--- a/arch/s390/mm/Makefile
+++ b/arch/s390/mm/Makefile
@@ -6,4 +6,4 @@ obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o
obj-$(CONFIG_CMM) += cmm.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_PAGE_STATES) += page-states.o
-obj-$(CONFIG_CHECKPOINT_RESTART) += checkpoint.o restart.o
+obj-$(CONFIG_CHECKPOINT) += checkpoint.o restart.o
diff --git a/arch/s390/mm/checkpoint.c b/arch/s390/mm/checkpoint.c
index 216bdd8..c4e3719 100644
--- a/arch/s390/mm/checkpoint.c
+++ b/arch/s390/mm/checkpoint.c
@@ -79,7 +79,6 @@ int cr_write_cpu(struct cr_ctx *ctx, struct task_struct *t)
h.type = CR_HDR_CPU;
h.len = sizeof(*hh);
- h.parent = task_pid_vnr(t);
cr_s390_regs(CR_CPT, hh, t);
@@ -98,7 +97,6 @@ int cr_write_head_arch(struct cr_ctx *ctx)
h.type = CR_HDR_HEAD_ARCH;
h.len = sizeof(*hh);
- h.parent = 0;
ret = cr_write_obj(ctx, &h, &hh);
cr_hbuf_put(ctx, sizeof(*hh));
@@ -106,7 +104,7 @@ int cr_write_head_arch(struct cr_ctx *ctx)
return ret;
}
-int cr_write_mm_context(struct cr_ctx *ctx, struct mm_struct *mm, int parent)
+int cr_write_mm_context(struct cr_ctx *ctx, struct mm_struct *mm)
{
struct cr_hdr h;
struct cr_hdr_mm_context *hh = cr_hbuf_get(ctx, sizeof(*hh));
@@ -114,7 +112,6 @@ int cr_write_mm_context(struct cr_ctx *ctx, struct mm_struct *mm, int parent)
h.type = CR_HDR_MM_CONTEXT;
h.len = sizeof(*hh);
- h.parent = parent;
cr_s390_mm(CR_CPT, hh, mm);
--
1.6.1
next reply other threads:[~2009-03-24 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 16:16 Serge E. Hallyn [this message]
[not found] ` <20090324161611.GA19751-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-30 12:44 ` [PATCH 1/1] s390 c/r: fix up v14 Oren Laadan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090324161611.GA19751@us.ibm.com \
--to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox