summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Qiu <qiudayu@linux.vnet.ibm.com>2013-08-07 04:25:14 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-09 10:06:47 +0200
commit144136dd7a25a0ca4d86685f872168502f91f337 (patch)
tree7145cb907034838c7bfac0c02b12f676738c0161
parentpowerpc/pseries: Add backward compatibilty to read old kernel oops-log (diff)
downloadlinux-144136dd7a25a0ca4d86685f872168502f91f337.tar.xz
linux-144136dd7a25a0ca4d86685f872168502f91f337.zip
powerpc/eeh: Add missing procfs entry for PowerNV
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> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/kernel/eeh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index ea9414c8088d..55593ee2d5aa 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1061,7 +1061,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;
}