summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Qiu <qiudayu@linux.vnet.ibm.com>2013-08-06 22:25:14 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-09 18:06:47 +1000
commit144136dd7a25a0ca4d86685f872168502f91f337 (patch)
tree7145cb907034838c7bfac0c02b12f676738c0161
parent156c9ebdaca20d9ce428dc189f2b24d2a0ec8eaf (diff)
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;
}