From: Mike Qiu Date: Wed, 7 Aug 2013 02:25:14 +0000 (-0400) Subject: powerpc/eeh: Add missing procfs entry for PowerNV X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=144136dd7a25a0ca4d86685f872168502f91f337;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- 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; }