diff options
Diffstat (limited to 'arch/ppc/syslib/ibm440gx_common.c')
-rw-r--r-- | arch/ppc/syslib/ibm440gx_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc/syslib/ibm440gx_common.c b/arch/ppc/syslib/ibm440gx_common.c index 0bb919859b8b..c36db279b43d 100644 --- a/arch/ppc/syslib/ibm440gx_common.c +++ b/arch/ppc/syslib/ibm440gx_common.c | |||
@@ -236,9 +236,9 @@ void __init ibm440gx_l2c_setup(struct ibm44x_clocks* p) | |||
236 | /* Disable L2C on rev.A, rev.B and 800MHz version of rev.C, | 236 | /* Disable L2C on rev.A, rev.B and 800MHz version of rev.C, |
237 | enable it on all other revisions | 237 | enable it on all other revisions |
238 | */ | 238 | */ |
239 | if (strcmp(cur_cpu_spec[0]->cpu_name, "440GX Rev. A") == 0 || | 239 | if (strcmp(cur_cpu_spec->cpu_name, "440GX Rev. A") == 0 || |
240 | strcmp(cur_cpu_spec[0]->cpu_name, "440GX Rev. B") == 0 | 240 | strcmp(cur_cpu_spec->cpu_name, "440GX Rev. B") == 0 |
241 | || (strcmp(cur_cpu_spec[0]->cpu_name, "440GX Rev. C") | 241 | || (strcmp(cur_cpu_spec->cpu_name, "440GX Rev. C") |
242 | == 0 && p->cpu > 667000000)) | 242 | == 0 && p->cpu > 667000000)) |
243 | ibm440gx_l2c_disable(); | 243 | ibm440gx_l2c_disable(); |
244 | else | 244 | else |