aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index d73fb73802b..20f328678fd 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -567,7 +567,7 @@ static void __init smp_core99_setup_i2c_hwsync(int ncpus)
567 pmac_tb_clock_chip_host = pmac_i2c_find_bus(cc); 567 pmac_tb_clock_chip_host = pmac_i2c_find_bus(cc);
568 if (pmac_tb_clock_chip_host == NULL) 568 if (pmac_tb_clock_chip_host == NULL)
569 continue; 569 continue;
570 reg = get_property(cc, "reg", NULL); 570 reg = of_get_property(cc, "reg", NULL);
571 if (reg == NULL) 571 if (reg == NULL)
572 continue; 572 continue;
573 switch (*reg) { 573 switch (*reg) {
@@ -695,7 +695,7 @@ static void __init smp_core99_setup(int ncpus)
695 struct device_node *cpus = 695 struct device_node *cpus =
696 of_find_node_by_path("/cpus"); 696 of_find_node_by_path("/cpus");
697 if (cpus && 697 if (cpus &&
698 get_property(cpus, "platform-cpu-timebase", NULL)) { 698 of_get_property(cpus, "platform-cpu-timebase", NULL)) {
699 pmac_tb_freeze = smp_core99_pfunc_tb_freeze; 699 pmac_tb_freeze = smp_core99_pfunc_tb_freeze;
700 printk(KERN_INFO "Processor timebase sync using" 700 printk(KERN_INFO "Processor timebase sync using"
701 " platform function\n"); 701 " platform function\n");
@@ -712,7 +712,7 @@ static void __init smp_core99_setup(int ncpus)
712 core99_tb_gpio = KL_GPIO_TB_ENABLE; /* default value */ 712 core99_tb_gpio = KL_GPIO_TB_ENABLE; /* default value */
713 cpu = of_find_node_by_type(NULL, "cpu"); 713 cpu = of_find_node_by_type(NULL, "cpu");
714 if (cpu != NULL) { 714 if (cpu != NULL) {
715 tbprop = get_property(cpu, "timebase-enable", NULL); 715 tbprop = of_get_property(cpu, "timebase-enable", NULL);
716 if (tbprop) 716 if (tbprop)
717 core99_tb_gpio = *tbprop; 717 core99_tb_gpio = *tbprop;
718 of_node_put(cpu); 718 of_node_put(cpu);