LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gavin Shan <shangw@linux.vnet.ibm.com>
To: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org, shangw@linux.vnet.ibm.com
Subject: Re: [PATCH] powerpc/eeh: Add procfs entry for PowerNV
Date: Wed, 7 Aug 2013 10:34:40 +0800	[thread overview]
Message-ID: <20130807023440.GB16844@shangw.(null)> (raw)
In-Reply-To: <1375842314-26555-1-git-send-email-qiudayu@linux.vnet.ibm.com>

On Tue, Aug 06, 2013 at 10:25:14PM -0400, Mike Qiu wrote:
>The procfs entry for global statistics has been missed on PowerNV
>platform and the patch is going to add that.
>
>Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>

Acked-by: Gavin Shan <shangw@linux.vnet.ibm.com>

>---
> arch/powerpc/kernel/eeh.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
>index 39954fe..0e12bb1 100644
>--- a/arch/powerpc/kernel/eeh.c
>+++ b/arch/powerpc/kernel/eeh.c
>@@ -1063,7 +1063,7 @@ static const struct file_operations proc_eeh_operations = {
>
> static int __init eeh_init_proc(void)
> {
>-	if (machine_is(pseries))
>+	if (machine_is(pseries) || machine_is(powernv))
> 		proc_create("powerpc/eeh", 0, NULL, &proc_eeh_operations);
> 	return 0;
> }

Thanks,
Gavin

      reply	other threads:[~2013-08-07  2:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07  2:25 [PATCH] powerpc/eeh: Add procfs entry for PowerNV Mike Qiu
2013-08-07  2:34 ` Gavin Shan [this message]

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='20130807023440.GB16844@shangw.(null)' \
    --to=shangw@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=qiudayu@linux.vnet.ibm.com \
    /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