smp-bmips.c (cdd5b5a9761fd66d17586e4f4ba6588c70e640ea) smp-bmips.c (8cd2accb71f5eb8e92d775fc1978d3779875c2e5)
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.
5 *
6 * Copyright (C) 2011 by Kevin Cernekee (cernekee@gmail.com)
7 *
8 * SMP support for BMIPS

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

429 .smp_finish = bmips_smp_finish,
430 .init_secondary = bmips_init_secondary,
431 .send_ipi_single = bmips43xx_send_ipi_single,
432 .send_ipi_mask = bmips43xx_send_ipi_mask,
433#ifdef CONFIG_HOTPLUG_CPU
434 .cpu_disable = bmips_cpu_disable,
435 .cpu_die = bmips_cpu_die,
436#endif
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.
5 *
6 * Copyright (C) 2011 by Kevin Cernekee (cernekee@gmail.com)
7 *
8 * SMP support for BMIPS

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

429 .smp_finish = bmips_smp_finish,
430 .init_secondary = bmips_init_secondary,
431 .send_ipi_single = bmips43xx_send_ipi_single,
432 .send_ipi_mask = bmips43xx_send_ipi_mask,
433#ifdef CONFIG_HOTPLUG_CPU
434 .cpu_disable = bmips_cpu_disable,
435 .cpu_die = bmips_cpu_die,
436#endif
437#ifdef CONFIG_KEXEC
437#ifdef CONFIG_KEXEC_CORE
438 .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
439#endif
440};
441
442const struct plat_smp_ops bmips5000_smp_ops = {
443 .smp_setup = bmips_smp_setup,
444 .prepare_cpus = bmips_prepare_cpus,
445 .boot_secondary = bmips_boot_secondary,
446 .smp_finish = bmips_smp_finish,
447 .init_secondary = bmips_init_secondary,
448 .send_ipi_single = bmips5000_send_ipi_single,
449 .send_ipi_mask = bmips5000_send_ipi_mask,
450#ifdef CONFIG_HOTPLUG_CPU
451 .cpu_disable = bmips_cpu_disable,
452 .cpu_die = bmips_cpu_die,
453#endif
438 .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
439#endif
440};
441
442const struct plat_smp_ops bmips5000_smp_ops = {
443 .smp_setup = bmips_smp_setup,
444 .prepare_cpus = bmips_prepare_cpus,
445 .boot_secondary = bmips_boot_secondary,
446 .smp_finish = bmips_smp_finish,
447 .init_secondary = bmips_init_secondary,
448 .send_ipi_single = bmips5000_send_ipi_single,
449 .send_ipi_mask = bmips5000_send_ipi_mask,
450#ifdef CONFIG_HOTPLUG_CPU
451 .cpu_disable = bmips_cpu_disable,
452 .cpu_die = bmips_cpu_die,
453#endif
454#ifdef CONFIG_KEXEC
454#ifdef CONFIG_KEXEC_CORE
455 .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
456#endif
457};
458
459#endif /* CONFIG_SMP */
460
461/***********************************************************************
462 * BMIPS vector relocation

--- 215 unchanged lines hidden ---
455 .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
456#endif
457};
458
459#endif /* CONFIG_SMP */
460
461/***********************************************************************
462 * BMIPS vector relocation

--- 215 unchanged lines hidden ---