Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 144136dd authored by Mike Qiu's avatar Mike Qiu Committed by Benjamin Herrenschmidt
Browse files

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: default avatarMike Qiu <qiudayu@linux.vnet.ibm.com>
Acked-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 156c9ebd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}