aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pSeries_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/pSeries_setup.c')
-rw-r--r--arch/ppc64/kernel/pSeries_setup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/pSeries_setup.c b/arch/ppc64/kernel/pSeries_setup.c
index 5bec956e44a0..d3975ac71cfb 100644
--- a/arch/ppc64/kernel/pSeries_setup.c
+++ b/arch/ppc64/kernel/pSeries_setup.c
@@ -231,11 +231,11 @@ static void __init pSeries_setup_arch(void)
231 231
232 pSeries_nvram_init(); 232 pSeries_nvram_init();
233 233
234 if (cur_cpu_spec->firmware_features & FW_FEATURE_SPLPAR) 234 if (ppc64_firmware_features & FW_FEATURE_SPLPAR)
235 vpa_init(boot_cpuid); 235 vpa_init(boot_cpuid);
236 236
237 /* Choose an idle loop */ 237 /* Choose an idle loop */
238 if (cur_cpu_spec->firmware_features & FW_FEATURE_SPLPAR) { 238 if (ppc64_firmware_features & FW_FEATURE_SPLPAR) {
239 if (get_paca()->lppaca.shared_proc) { 239 if (get_paca()->lppaca.shared_proc) {
240 printk(KERN_INFO "Using shared processor idle loop\n"); 240 printk(KERN_INFO "Using shared processor idle loop\n");
241 ppc_md.idle_loop = pseries_shared_idle; 241 ppc_md.idle_loop = pseries_shared_idle;
@@ -260,7 +260,7 @@ static int __init pSeries_init_panel(void)
260arch_initcall(pSeries_init_panel); 260arch_initcall(pSeries_init_panel);
261 261
262 262
263/* Build up the firmware_features bitmask field 263/* Build up the ppc64_firmware_features bitmask field
264 * using contents of device-tree/ibm,hypertas-functions. 264 * using contents of device-tree/ibm,hypertas-functions.
265 * Ultimately this functionality may be moved into prom.c prom_init(). 265 * Ultimately this functionality may be moved into prom.c prom_init().
266 */ 266 */
@@ -272,7 +272,7 @@ void __init fw_feature_init(void)
272 272
273 DBG(" -> fw_feature_init()\n"); 273 DBG(" -> fw_feature_init()\n");
274 274
275 cur_cpu_spec->firmware_features = 0; 275 ppc64_firmware_features = 0;
276 dn = of_find_node_by_path("/rtas"); 276 dn = of_find_node_by_path("/rtas");
277 if (dn == NULL) { 277 if (dn == NULL) {
278 printk(KERN_ERR "WARNING ! Cannot find RTAS in device-tree !\n"); 278 printk(KERN_ERR "WARNING ! Cannot find RTAS in device-tree !\n");
@@ -288,7 +288,7 @@ void __init fw_feature_init(void)
288 if ((firmware_features_table[i].name) && 288 if ((firmware_features_table[i].name) &&
289 (strcmp(firmware_features_table[i].name,hypertas))==0) { 289 (strcmp(firmware_features_table[i].name,hypertas))==0) {
290 /* we have a match */ 290 /* we have a match */
291 cur_cpu_spec->firmware_features |= 291 ppc64_firmware_features |=
292 (firmware_features_table[i].val); 292 (firmware_features_table[i].val);
293 break; 293 break;
294 } 294 }
@@ -302,7 +302,7 @@ void __init fw_feature_init(void)
302 of_node_put(dn); 302 of_node_put(dn);
303 no_rtas: 303 no_rtas:
304 printk(KERN_INFO "firmware_features = 0x%lx\n", 304 printk(KERN_INFO "firmware_features = 0x%lx\n",
305 cur_cpu_spec->firmware_features); 305 ppc64_firmware_features);
306 306
307 DBG(" <- fw_feature_init()\n"); 307 DBG(" <- fw_feature_init()\n");
308} 308}