Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Masahiro Yamada | 2663cd6 | 2016-06-27 19:31:05 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Socionext Inc. |
| 4 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 2663cd6 | 2016-06-27 19:31:05 +0900 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <linux/linkage.h> |
| 8 | |
| 9 | ENTRY(spin_table_secondary_jump) |
| 10 | .globl spin_table_reserve_begin |
| 11 | spin_table_reserve_begin: |
| 12 | 0: wfe |
| 13 | ldr x0, spin_table_cpu_release_addr |
| 14 | cbz x0, 0b |
| 15 | br x0 |
| 16 | .globl spin_table_cpu_release_addr |
| 17 | .align 3 |
| 18 | spin_table_cpu_release_addr: |
| 19 | .quad 0 |
| 20 | .globl spin_table_reserve_end |
| 21 | spin_table_reserve_end: |
| 22 | ENDPROC(spin_table_secondary_jump) |