Skip to content

Commit f12cd06

Browse files
Yang Yingliangmpe
authored andcommitted
powerpc/64s/hash: Make stress_hpt_timer_fn() static
stress_hpt_timer_fn() is only used in hash_utils.c, make it static. Fixes: 6b34a09 ("powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20221228093603.3166599-1-yangyingliang@huawei.com
1 parent 76d588d commit f12cd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/mm/book3s64/hash_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ static void __init hash_init_partition_table(phys_addr_t hash_table,
10121012

10131013
void hpt_clear_stress(void);
10141014
static struct timer_list stress_hpt_timer;
1015-
void stress_hpt_timer_fn(struct timer_list *timer)
1015+
static void stress_hpt_timer_fn(struct timer_list *timer)
10161016
{
10171017
int next_cpu;
10181018

0 commit comments

Comments
 (0)