aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/proc_ppc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/proc_ppc64.c')
-rw-r--r--arch/ppc64/kernel/proc_ppc64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/proc_ppc64.c b/arch/ppc64/kernel/proc_ppc64.c
index 24e955ee9487..c893a11ee198 100644
--- a/arch/ppc64/kernel/proc_ppc64.c
+++ b/arch/ppc64/kernel/proc_ppc64.c
@@ -53,7 +53,7 @@ static int __init proc_ppc64_create(void)
53 if (!root) 53 if (!root)
54 return 1; 54 return 1;
55 55
56 if (!(systemcfg->platform & (PLATFORM_PSERIES | PLATFORM_CELL))) 56 if (!(platform_is_pseries() || _machine == PLATFORM_CELL))
57 return 0; 57 return 0;
58 58
59 if (!proc_mkdir("rtas", root)) 59 if (!proc_mkdir("rtas", root))
@@ -74,7 +74,7 @@ static int __init proc_ppc64_init(void)
74 if (!pde) 74 if (!pde)
75 return 1; 75 return 1;
76 pde->nlink = 1; 76 pde->nlink = 1;
77 pde->data = systemcfg; 77 pde->data = _systemcfg;
78 pde->size = PAGE_SIZE; 78 pde->size = PAGE_SIZE;
79 pde->proc_fops = &page_map_fops; 79 pde->proc_fops = &page_map_fops;
80 80