q-smp.c 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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) 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. * Send inter-processor interrupt
  14. */
  15. void core_send_ipi(int cpu, unsigned int action)
  16. {
  17. panic(KERN_ERR "%s called", __FUNCTION__);
  18. }
  19. /*
  20. * After we've done initial boot, this function is called to allow the
  21. * board code to clean up state, if needed
  22. */
  23. void prom_init_secondary(void)
  24. {
  25. }
  26. void prom_smp_finish(void)
  27. {
  28. }
  29. /* Hook for after all CPUs are online */
  30. void prom_cpus_done(void)
  31. {
  32. }
  33. void __init prom_prepare_cpus(unsigned int max_cpus)
  34. {
  35. cpus_clear(phys_cpu_present_map);
  36. }
  37. /*
  38. * Firmware CPU startup hook
  39. */
  40. void prom_boot_secondary(int cpu, struct task_struct *idle)
  41. {
  42. }