• Mark Rutland's avatar
    arm64: string: use asm EXPORT_SYMBOL() · ac0e8c72
    Mark Rutland authored
    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: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    ac0e8c72
memcpy.S 1.8 KB