aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/proc_ppc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/proc_ppc64.c')
-rw-r--r--arch/powerpc/kernel/proc_ppc64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/proc_ppc64.c b/arch/powerpc/kernel/proc_ppc64.c
index 3c2cf661f6d9..2b87f82df135 100644
--- a/arch/powerpc/kernel/proc_ppc64.c
+++ b/arch/powerpc/kernel/proc_ppc64.c
@@ -52,7 +52,7 @@ static int __init proc_ppc64_create(void)
52 if (!root) 52 if (!root)
53 return 1; 53 return 1;
54 54
55 if (!machine_is(pseries) && !machine_is(cell)) 55 if (!of_find_node_by_path("/rtas"))
56 return 0; 56 return 0;
57 57
58 if (!proc_mkdir("rtas", root)) 58 if (!proc_mkdir("rtas", root))