Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pingfan Liu <piliu@redhat.com>
To: kexec@lists.infradead.org
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>,
	Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
Subject: [PATCH v2 1/2] makedumpfile/ppc64: set page_offset in get_versiondep_info_ppc64()
Date: Mon, 21 Aug 2017 11:24:05 +0800	[thread overview]
Message-ID: <1503285846-11432-2-git-send-email-piliu@redhat.com> (raw)
In-Reply-To: <1503285846-11432-1-git-send-email-piliu@redhat.com>

Envalue info->page_offset in get_versiondep_info_ppc64() is a little
misleading. But since show_mem_usage->get_page_offset->get_versiondep_info
needs to get this info, so initialize it in get_versiondep_info_ppc64().

Signed-off-by: Pingfan Liu <piliu@redhat.com>
---
 arch/ppc64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/ppc64.c b/arch/ppc64.c
index 6aeab7e..3fd6002 100644
--- a/arch/ppc64.c
+++ b/arch/ppc64.c
@@ -576,6 +576,7 @@ get_versiondep_info_ppc64()
 		ERRMSG("Can't initialize for vmalloc translation\n");
 		return FALSE;
 	}
+	info->page_offset = __PAGE_OFFSET;
 
 	return TRUE;
 }
-- 
2.7.4


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2017-08-21  3:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21  3:24 [PATCH v2 0/2] makedumpfile/ppc64: enable mem-usage option Pingfan Liu
2017-08-21  3:24 ` Pingfan Liu [this message]
2017-08-21  3:24 ` [PATCH v2 2/2] makedumpfile/ppc64: get the info of mem reserved for crashkernel Pingfan Liu
2017-08-24  3:00 ` [PATCH v2 0/2] makedumpfile/ppc64: enable mem-usage option Atsushi Kumagai

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=1503285846-11432-2-git-send-email-piliu@redhat.com \
    --to=piliu@redhat.com \
    --cc=ats-kumagai@wm.jp.nec.com \
    --cc=hbathini@linux.vnet.ibm.com \
    --cc=kexec@lists.infradead.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