diff options
author | Mark Rutland <[email protected]> | 2018-12-07 18:08:21 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2018-12-10 11:50:12 +0000 |
commit | ac0e8c72b03b0e2634a355b99e1d3b780090c403 (patch) | |
tree | b1a130c9457d5c2f4423fbd31724762e4d07084e /arch/arm64/lib/strncmp.S | |
parent | 56c08ec5162c7cf87632c59714ac625e7d54106a (diff) |
arm64: string: use asm EXPORT_SYMBOL()
For a while now it's been possible to use EXPORT_SYMBOL() in assembly
files, which allows us to place exports immediately after assembly
functions, as we do for C functions.
As a step towards removing arm64ksyms.c, let's move the string routine
exports to the assembly files the functions are defined in. Routines
which should only be exported for !KASAN builds are exported using the
EXPORT_SYMBOL_NOKASAN() helper.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'arch/arm64/lib/strncmp.S')
-rw-r--r-- | arch/arm64/lib/strncmp.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/lib/strncmp.S b/arch/arm64/lib/strncmp.S index 66bd145935d9..c5d567afb039 100644 --- a/arch/arm64/lib/strncmp.S +++ b/arch/arm64/lib/strncmp.S @@ -308,3 +308,4 @@ CPU_BE( orr syndrome, diff, has_nul ) mov result, #0 ret ENDPIPROC(strncmp) +EXPORT_SYMBOL_NOKASAN(strncmp) |