* [PATCH -next] powerpc/64s/hash: change stress_hpt_timer_fn to static
@ 2022-12-28 9:36 Yang Yingliang
2023-01-16 0:39 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2022-12-28 9:36 UTC (permalink / raw)
To: linuxppc-dev; +Cc: npiggin, yangyingliang
stress_hpt_timer_fn is only used in hash_utils.c now,
change it to static.
Fixes: 6b34a099faa1 ("powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
arch/powerpc/mm/book3s64/hash_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] powerpc/64s/hash: change stress_hpt_timer_fn to static
2022-12-28 9:36 [PATCH -next] powerpc/64s/hash: change stress_hpt_timer_fn to static Yang Yingliang
@ 2023-01-16 0:39 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2023-01-16 0:39 UTC (permalink / raw)
To: linuxppc-dev, Yang Yingliang; +Cc: npiggin
On Wed, 28 Dec 2022 17:36:03 +0800, Yang Yingliang wrote:
> stress_hpt_timer_fn is only used in hash_utils.c now,
> change it to static.
>
>
Applied to powerpc/fixes.
[1/1] powerpc/64s/hash: change stress_hpt_timer_fn to static
https://git.kernel.org/powerpc/c/f12cd06109f47c2fb4b23a45ab55404c47ef7fae
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-16 0:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-28 9:36 [PATCH -next] powerpc/64s/hash: change stress_hpt_timer_fn to static Yang Yingliang
2023-01-16 0:39 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).