提交 144136dd 编写于 作者: M Mike Qiu 提交者: Benjamin Herrenschmidt

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: NMike Qiu <qiudayu@linux.vnet.ibm.com>
Acked-by: NGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 156c9ebd
...@@ -1061,7 +1061,7 @@ static const struct file_operations proc_eeh_operations = { ...@@ -1061,7 +1061,7 @@ static const struct file_operations proc_eeh_operations = {
static int __init eeh_init_proc(void) 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); proc_create("powerpc/eeh", 0, NULL, &proc_eeh_operations);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册