headsmp.S 547 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com>
  4. * Copyright (c) 2003 ARM Limited
  5. * All Rights Reserved
  6. */
  7. #include <linux/linkage.h>
  8. #include <linux/init.h>
  9. __INIT
  10. /*
  11. * OX820 specific entry point for secondary CPUs.
  12. */
  13. ENTRY(ox820_secondary_startup)
  14. mov r4, #0
  15. /* invalidate both caches and branch target cache */
  16. mcr p15, 0, r4, c7, c7, 0
  17. /*
  18. * we've been released from the holding pen: secondary_stack
  19. * should now contain the SVC stack for this core
  20. */
  21. b secondary_startup