提交 56eea7f8 编写于 作者: M Mark Rutland 提交者: Will Deacon

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: NMark 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.comSigned-off-by: NWill Deacon <will@kernel.org>
上级 d3d10f0d
...@@ -196,7 +196,7 @@ static void __apply_alternatives(const struct alt_region *region, ...@@ -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; struct alt_region region;
const struct elf64_hdr *hdr; const struct elf64_hdr *hdr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册