diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-12-07 19:08:19 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-10 12:50:11 +0100 |
commit | 50fdecb292e0b2d98b0b2bf319a4faa1aa7d666f (patch) | |
tree | 5b66e9064515502ac687167b9d78a46c800d9a9e /arch/arm64/kernel/arm64ksyms.c | |
parent | arm64: smccc: use asm EXPORT_SYMBOL() (diff) | |
download | linux-50fdecb292e0b2d98b0b2bf319a4faa1aa7d666f.tar.xz linux-50fdecb292e0b2d98b0b2bf319a4faa1aa7d666f.zip |
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/kernel/arm64ksyms.c')
-rw-r--r-- | arch/arm64/kernel/arm64ksyms.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c index 74e29e69190b..784b257d9643 100644 --- a/arch/arm64/kernel/arm64ksyms.c +++ b/arch/arm64/kernel/arm64ksyms.c @@ -30,9 +30,6 @@ #include <asm/checksum.h> -EXPORT_SYMBOL(copy_page); -EXPORT_SYMBOL(clear_page); - /* user mem (segment) */ EXPORT_SYMBOL(__arch_copy_from_user); EXPORT_SYMBOL(__arch_copy_to_user); |