summaryrefslogtreecommitdiff
path: root/Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S')
-rw-r--r--Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S b/Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S
index e9eba54b8f..026d5c625f 100644
--- a/Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S
+++ b/Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.S
@@ -5,14 +5,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-.global get_current_exception_level
-.type get_current_exception_level, @function
-get_current_exception_level:
- mrs x0, CurrentEL
- lsr x0, x0, #2
- and x0, x0, #0x3
- ret
-
.global wait_cycles
.type wait_cycles, @function
wait_cycles: