diff options
author | Mark Rutland <mark.rutland@arm.com> | 2022-11-17 14:16:50 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-18 15:17:37 +0100 |
commit | 56eea7f87fb66d7e9508b1b883a602b8df122b03 (patch) | |
tree | eaa36f297b82f77e7ec4b563842b0d9277fc7a84 /arch/arm64/kernel | |
parent | arm64/mm: Drop idmap_pg_end[] declaration (diff) | |
download | linux-56eea7f87fb66d7e9508b1b883a602b8df122b03.tar.xz linux-56eea7f87fb66d7e9508b1b883a602b8df122b03.zip |
arm64: alternatives: make apply_alternatives_vdso() static
We define and use apply_alternatives_vdso() within alternative.c, and
don't provide a prototype in a header. There's no need for it to be
visible outside of alternative.c, so mark it as static.
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: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221117131650.4056636-1-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/alternative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/alternative.c b/arch/arm64/kernel/alternative.c index 91263d09ea65..0f5eaa4c3a39 100644 --- a/arch/arm64/kernel/alternative.c +++ b/arch/arm64/kernel/alternative.c @@ -196,7 +196,7 @@ static void __apply_alternatives(const struct alt_region *region, } } -void apply_alternatives_vdso(void) +static void apply_alternatives_vdso(void) { struct alt_region region; const struct elf64_hdr *hdr; |