headsmp.S 693 B

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