diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-12-07 18:08:15 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-10 11:50:11 +0000 |
commit | 03ef055fd364e498c0633c163e7b0b0a52418e96 (patch) | |
tree | 0d5072a8a047d16c23a13fb2f8ecd8e0f4b3cd6c /arch/arm64/kernel | |
parent | 2d7c89b02c62e02879c1fcecaaaccc7da0ea18e0 (diff) | |
download | linux-03ef055fd364e498c0633c163e7b0b0a52418e96.tar.bz2 |
arm64: move memstart_addr export inline
Since we define memstart_addr in a C file, we can have the export
immediately after the definition of the symbol, as we do elsewhere.
As a step towards removing arm64ksyms.c, move the export of
memstart_addr to init.c, where the symbol is defined.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-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 c4003c18a18b..73237dc8a994 100644 --- a/arch/arm64/kernel/arm64ksyms.c +++ b/arch/arm64/kernel/arm64ksyms.c @@ -40,9 +40,6 @@ EXPORT_SYMBOL(__arch_copy_to_user); EXPORT_SYMBOL(__arch_clear_user); EXPORT_SYMBOL(__arch_copy_in_user); - /* physical memory */ -EXPORT_SYMBOL(memstart_addr); - /* string / mem functions */ #ifndef CONFIG_KASAN EXPORT_SYMBOL(strchr); |