summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-28 17:36:03 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2023-01-12 10:53:37 +1100
commitf12cd06109f47c2fb4b23a45ab55404c47ef7fae (patch)
tree9aaebd357a604887752d42f52cf8685580f8b43d /arch
parent76d588dddc459fefa1da96e0a081a397c5c8e216 (diff)
powerpc/64s/hash: Make stress_hpt_timer_fn() static
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
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/book3s64/hash_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/book3s64/hash_utils.c b/arch/powerpc/mm/book3s64/hash_utils.c
index 80a148c57de8..44a35ed4f686 100644
--- a/arch/powerpc/mm/book3s64/hash_utils.c
+++ b/arch/powerpc/mm/book3s64/hash_utils.c
@@ -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;