Skip to content

Commit 56eea7f

Browse files
mrutland-armwilldeacon
authored andcommitted
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 <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Joey Gouly <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent d3d10f0 commit 56eea7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/alternative.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static void __apply_alternatives(const struct alt_region *region,
196196
}
197197
}
198198

199-
void apply_alternatives_vdso(void)
199+
static void apply_alternatives_vdso(void)
200200
{
201201
struct alt_region region;
202202
const struct elf64_hdr *hdr;

0 commit comments

Comments
 (0)