Skip to content

Commit

Permalink
powerpc/eeh: Add missing procfs entry for PowerNV
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Qiu authored and Benjamin Herrenschmidt committed Aug 9, 2013
1 parent 156c9eb commit 144136d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 144136d

Please sign in to comment.