headsmp.S 684 B

123456789101112131415161718192021222324252627
  1. /*
  2. * linux/arch/arm/mach-ox820/headsmp.S
  3. *
  4. * Copyright (c) 2003 ARM Limited
  5. * All Rights Reserved
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include <linux/linkage.h>
  12. #include <linux/init.h>
  13. __INIT
  14. /*
  15. * OX820 specific entry point for secondary CPUs.
  16. */
  17. ENTRY(ox820_secondary_startup)
  18. mov r4, #0
  19. /* invalidate both caches and branch target cache */
  20. mcr p15, 0, r4, c7, c7, 0
  21. /*
  22. * we've been released from the holding pen: secondary_stack
  23. * should now contain the SVC stack for this core
  24. */
  25. b secondary_startup