diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-12-07 18:08:19 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-10 11:50:11 +0000 |
commit | 50fdecb292e0b2d98b0b2bf319a4faa1aa7d666f (patch) | |
tree | 5b66e9064515502ac687167b9d78a46c800d9a9e /arch/arm64/lib/clear_page.S | |
parent | 23fe04c0c58c0432d26fd9c8d974d2fd9ab8a493 (diff) |
arm64: page: 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 copy_page and
clear_page exports to the assembly files the functions are defined in.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/lib/clear_page.S')
-rw-r--r-- | arch/arm64/lib/clear_page.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/lib/clear_page.S b/arch/arm64/lib/clear_page.S index ef08e905e35b..6d13b0d64ad5 100644 --- a/arch/arm64/lib/clear_page.S +++ b/arch/arm64/lib/clear_page.S @@ -37,3 +37,4 @@ ENTRY(clear_page) b.ne 1b ret ENDPROC(clear_page) +EXPORT_SYMBOL(clear_page) |