diff options
author | Mark Brown <broonie@kernel.org> | 2020-01-06 20:58:17 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-08 13:23:02 +0100 |
commit | 3ac0f4526dfb80625f5c2365bccd85be68db93ef (patch) | |
tree | 58c39c4356929979b57fad4970f1e65838769c65 /arch/arm64/lib/strcmp.S | |
parent | arm64: asm: Add new-style position independent function annotations (diff) | |
download | linux-3ac0f4526dfb80625f5c2365bccd85be68db93ef.tar.xz linux-3ac0f4526dfb80625f5c2365bccd85be68db93ef.zip |
arm64: lib: Use 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 library code to the
new macros.
Signed-off-by: Mark Brown <broonie@kernel.org>
[will: Use SYM_FUNC_START_WEAK_PI]
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib/strcmp.S')
-rw-r--r-- | arch/arm64/lib/strcmp.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/lib/strcmp.S b/arch/arm64/lib/strcmp.S index e9aefbe0b740..4767540d1b94 100644 --- a/arch/arm64/lib/strcmp.S +++ b/arch/arm64/lib/strcmp.S @@ -48,7 +48,7 @@ tmp3 .req x9 zeroones .req x10 pos .req x11 -WEAK(strcmp) +SYM_FUNC_START_WEAK_PI(strcmp) eor tmp1, src1, src2 mov zeroones, #REP8_01 tst tmp1, #7 @@ -219,5 +219,5 @@ CPU_BE( orr syndrome, diff, has_nul ) lsr data1, data1, #56 sub result, data1, data2, lsr #56 ret -ENDPIPROC(strcmp) +SYM_FUNC_END_PI(strcmp) EXPORT_SYMBOL_NOKASAN(strcmp) |