blob: 6d268432702f4f83c6e2ac2b3d843bd1efb5dcdf [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamada2663cd62016-06-27 19:31:05 +09002/*
3 * Copyright (C) 2016 Socionext Inc.
4 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada2663cd62016-06-27 19:31:05 +09005 */
6
7#include <linux/linkage.h>
8
9ENTRY(spin_table_secondary_jump)
10.globl spin_table_reserve_begin
11spin_table_reserve_begin:
120: 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
18spin_table_cpu_release_addr:
19 .quad 0
20.globl spin_table_reserve_end
21spin_table_reserve_end:
22ENDPROC(spin_table_secondary_jump)