platsmp.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright (c) 2012, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. /*
  13. * control for which core is the next to come out of the secondary
  14. * boot "holding pen".
  15. */
  16. extern volatile int pen_release;
  17. void __cpuinit msm_secondary_startup(void);
  18. void __cpuinit write_pen_release(int val);
  19. /* HOTPLUG Interface */
  20. int platform_cpu_kill(unsigned int cpu);
  21. void platform_cpu_die(unsigned int cpu);
  22. int platform_cpu_disable(unsigned int cpu);
  23. extern struct smp_operations arm_smp_ops __initdata;
  24. extern struct smp_operations msm8960_smp_ops __initdata;
  25. extern struct smp_operations msm8974_smp_ops __initdata;
  26. extern struct smp_operations msm8625_smp_ops __initdata;
  27. extern struct smp_operations scorpion_smp_ops __initdata;