~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/44x/iss4xx.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        mpic_setup_this_cpu();
88
88
}
89
89
 
90
 
static void __cpuinit smp_iss4xx_kick_cpu(int cpu)
 
90
static int __cpuinit smp_iss4xx_kick_cpu(int cpu)
91
91
{
92
92
        struct device_node *cpunode = of_get_cpu_node(cpu, NULL);
93
93
        const u64 *spin_table_addr_prop;
104
104
                                               NULL);
105
105
        if (spin_table_addr_prop == NULL) {
106
106
                pr_err("CPU%d: Can't start, missing cpu-release-addr !\n", cpu);
107
 
                return;
 
107
                return -ENOENT;
108
108
        }
109
109
 
110
110
        /* Assume it's mapped as part of the linear mapping. This is a bit
117
117
        smp_wmb();
118
118
        spin_table[1] = __pa(start_secondary_47x);
119
119
        mb();
 
120
 
 
121
        return 0;
120
122
}
121
123
 
122
124
static struct smp_ops_t iss_smp_ops = {