1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * David Feng <fenghua@phytium.com.cn>
7 #include <asm-offsets.h>
9 #include <linux/linkage.h>
10 #include <asm/macro.h>
13 * void __asm_invalidate_tlb_all(void)
15 * invalidate all tlb entries.
17 .pushsection .text.__asm_invalidate_tlb_all, "ax"
18 ENTRY(__asm_invalidate_tlb_all)
19 switch_el x9, 3f, 2f, 1f
33 ENDPROC(__asm_invalidate_tlb_all)