smp.c (0b5f9c005def154f9c21f9be0223b65b50d54368) smp.c (5f054e31c63be774bf1ce252f20d56012a00f8a5)
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 *

--- 124 unchanged lines hidden (view full) ---

133 __KSTK_TOS(idle),
134 (unsigned long)task_thread_info(idle), 0);
135 if (retval != 0)
136 printk("cfe_start_cpu(%i) returned %i\n" , cpu, retval);
137}
138
139/*
140 * Use CFE to find out how many CPUs are available, setting up
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 *

--- 124 unchanged lines hidden (view full) ---

133 __KSTK_TOS(idle),
134 (unsigned long)task_thread_info(idle), 0);
135 if (retval != 0)
136 printk("cfe_start_cpu(%i) returned %i\n" , cpu, retval);
137}
138
139/*
140 * Use CFE to find out how many CPUs are available, setting up
141 * cpu_possible_map and the logical/physical mappings.
141 * cpu_possible_mask and the logical/physical mappings.
142 * XXXKW will the boot CPU ever not be physical 0?
143 *
144 * Common setup before any secondaries are started
145 */
146static void __init bcm1480_smp_setup(void)
147{
148 int i, num;
149

--- 48 unchanged lines hidden ---
142 * XXXKW will the boot CPU ever not be physical 0?
143 *
144 * Common setup before any secondaries are started
145 */
146static void __init bcm1480_smp_setup(void)
147{
148 int i, num;
149

--- 48 unchanged lines hidden ---