smp.c (0337966d121ebebf73a1c346123e8112796e684e) | smp.c (ff2c8252bfbf069dda1e53353a63b560f1369f59) |
---|---|
1/* 2 * Copyright (C) 2001,2002,2004 Broadcom Corporation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 143 unchanged lines hidden (view full) --- 152 } 153 printk(KERN_INFO "Detected %i available secondary CPU(s)\n", num); 154} 155 156static void __init bcm1480_prepare_cpus(unsigned int max_cpus) 157{ 158} 159 | 1/* 2 * Copyright (C) 2001,2002,2004 Broadcom Corporation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 143 unchanged lines hidden (view full) --- 152 } 153 printk(KERN_INFO "Detected %i available secondary CPU(s)\n", num); 154} 155 156static void __init bcm1480_prepare_cpus(unsigned int max_cpus) 157{ 158} 159 |
160struct plat_smp_ops bcm1480_smp_ops = { | 160const struct plat_smp_ops bcm1480_smp_ops = { |
161 .send_ipi_single = bcm1480_send_ipi_single, 162 .send_ipi_mask = bcm1480_send_ipi_mask, 163 .init_secondary = bcm1480_init_secondary, 164 .smp_finish = bcm1480_smp_finish, 165 .boot_secondary = bcm1480_boot_secondary, 166 .smp_setup = bcm1480_smp_setup, 167 .prepare_cpus = bcm1480_prepare_cpus, 168}; --- 23 unchanged lines hidden --- | 161 .send_ipi_single = bcm1480_send_ipi_single, 162 .send_ipi_mask = bcm1480_send_ipi_mask, 163 .init_secondary = bcm1480_init_secondary, 164 .smp_finish = bcm1480_smp_finish, 165 .boot_secondary = bcm1480_boot_secondary, 166 .smp_setup = bcm1480_smp_setup, 167 .prepare_cpus = bcm1480_prepare_cpus, 168}; --- 23 unchanged lines hidden --- |