Skip to content

Commit

Permalink
powerpc/64s/hash: Make stress_hpt_timer_fn() static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Yang Yingliang authored and Michael Ellerman committed Jan 11, 2023
1 parent 76d588d commit f12cd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/book3s64/hash_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ static void __init hash_init_partition_table(phys_addr_t hash_table,

void hpt_clear_stress(void);
static struct timer_list stress_hpt_timer;
void stress_hpt_timer_fn(struct timer_list *timer)
static void stress_hpt_timer_fn(struct timer_list *timer)
{
int next_cpu;

Expand Down

0 comments on commit f12cd06

Please sign in to comment.