diff options
author | Mark Brown <broonie@kernel.org> | 2020-05-01 12:54:29 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-04 12:46:03 +0100 |
commit | 0343a7e46362c3836ff27ceb749ee2b6f78aa982 (patch) | |
tree | ba3fd870e6ae195a8dea40cd91cf52b5ad333d48 /arch/arm64/kernel/smccc-call.S | |
parent | 06607c7e93f2a4799346baa262d4304681e4b528 (diff) | |
download | linux-0343a7e46362c3836ff27ceb749ee2b6f78aa982.tar.gz linux-0343a7e46362c3836ff27ceb749ee2b6f78aa982.tar.bz2 linux-0343a7e46362c3836ff27ceb749ee2b6f78aa982.zip |
arm64: kernel: Convert to modern annotations for assembly functions
In an effort to clarify and simplify the annotation of assembly functions
in the kernel new macros have been introduced. These replace ENTRY and
ENDPROC and also add a new annotation for static functions which previously
had no ENTRY equivalent. Update the annotations in the core kernel code to
the new macros.
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200501115430.37315-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/smccc-call.S')
-rw-r--r-- | arch/arm64/kernel/smccc-call.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/kernel/smccc-call.S b/arch/arm64/kernel/smccc-call.S index 54655273d1e0..1f93809528a4 100644 --- a/arch/arm64/kernel/smccc-call.S +++ b/arch/arm64/kernel/smccc-call.S @@ -30,9 +30,9 @@ * unsigned long a6, unsigned long a7, struct arm_smccc_res *res, * struct arm_smccc_quirk *quirk) */ -ENTRY(__arm_smccc_smc) +SYM_FUNC_START(__arm_smccc_smc) SMCCC smc -ENDPROC(__arm_smccc_smc) +SYM_FUNC_END(__arm_smccc_smc) EXPORT_SYMBOL(__arm_smccc_smc) /* @@ -41,7 +41,7 @@ EXPORT_SYMBOL(__arm_smccc_smc) * unsigned long a6, unsigned long a7, struct arm_smccc_res *res, * struct arm_smccc_quirk *quirk) */ -ENTRY(__arm_smccc_hvc) +SYM_FUNC_START(__arm_smccc_hvc) SMCCC hvc -ENDPROC(__arm_smccc_hvc) +SYM_FUNC_END(__arm_smccc_hvc) EXPORT_SYMBOL(__arm_smccc_hvc) |