blob: 4b0178d0df0b828bfd444afc8c26812e66a462dd [file] [log] [blame]
Ralf Baechlec1449c82006-02-15 15:17:19 +00001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2006 by Ralf Baechle (ralf@linux-mips.org)
7 *
8 * Symmetric Uniprocessor (TM) Support
9 */
10#include <linux/kernel.h>
11#include <linux/sched.h>
12
13/*
14 * Send inter-processor interrupt
15 */
16void core_send_ipi(int cpu, unsigned int action)
17{
18 panic(KERN_ERR "%s called", __FUNCTION__);
19}
20
21/*
22 * After we've done initial boot, this function is called to allow the
23 * board code to clean up state, if needed
24 */
Ralf Baechle428ab282007-08-06 14:02:12 +010025void __cpuinit prom_init_secondary(void)
Ralf Baechlec1449c82006-02-15 15:17:19 +000026{
27}
28
Ralf Baechle428ab282007-08-06 14:02:12 +010029void __cpuinit prom_smp_finish(void)
Ralf Baechlec1449c82006-02-15 15:17:19 +000030{
31}
32
33/* Hook for after all CPUs are online */
34void prom_cpus_done(void)
35{
36}
37
38void __init prom_prepare_cpus(unsigned int max_cpus)
39{
40 cpus_clear(phys_cpu_present_map);
41}
42
43/*
44 * Firmware CPU startup hook
45 */
Ralf Baechle428ab282007-08-06 14:02:12 +010046void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)
Ralf Baechlec1449c82006-02-15 15:17:19 +000047{
48}
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +090049
50void __init plat_smp_setup(void)
51{
52}
53void __init plat_prepare_cpus(unsigned int max_cpus)
54{
55}