]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc/64s/hash: Make stress_hpt_timer_fn() static
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 28 Dec 2022 09:36:03 +0000 (17:36 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Jan 2023 23:53:37 +0000 (10:53 +1100)
stress_hpt_timer_fn() is only used in hash_utils.c, make it static.

Fixes: 6b34a099faa1 ("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
arch/powerpc/mm/book3s64/hash_utils.c

index 80a148c57de8137aba48022373d3475a567c219f..44a35ed4f68605490bb2950d1ba0f0724e2f8e35 100644 (file)
@@ -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;