RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / mips / qemu / q-smp.c
blob786bbfa214d14620fd83b795f77c3ba2c13796d9
1 /*
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.
6 * Copyright (C) 2006 by Ralf Baechle (ralf@linux-mips.org)
8 * Symmetric Uniprocessor (TM) Support
9 */
10 #include <linux/kernel.h>
11 #include <linux/sched.h>
14 * Send inter-processor interrupt
16 void core_send_ipi(int cpu, unsigned int action)
18 panic(KERN_ERR "%s called", __FUNCTION__);
22 * After we've done initial boot, this function is called to allow the
23 * board code to clean up state, if needed
25 void prom_init_secondary(void)
29 void prom_smp_finish(void)
33 /* Hook for after all CPUs are online */
34 void prom_cpus_done(void)
38 void __init prom_prepare_cpus(unsigned int max_cpus)
40 cpus_clear(phys_cpu_present_map);
44 * Firmware CPU startup hook
46 void prom_boot_secondary(int cpu, struct task_struct *idle)
50 void __init plat_smp_setup(void)
53 void __init plat_prepare_cpus(unsigned int max_cpus)