spin_table_v8.S 500 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016 Socionext Inc.
  4. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  5. */
  6. #include <linux/linkage.h>
  7. ENTRY(spin_table_secondary_jump)
  8. .globl spin_table_reserve_begin
  9. spin_table_reserve_begin:
  10. 0: wfe
  11. ldr x0, spin_table_cpu_release_addr
  12. cbz x0, 0b
  13. br x0
  14. .globl spin_table_cpu_release_addr
  15. .align 3
  16. spin_table_cpu_release_addr:
  17. .quad 0
  18. .globl spin_table_reserve_end
  19. spin_table_reserve_end:
  20. ENDPROC(spin_table_secondary_jump)