Re: [PATCH] powerpc/time: Define div128_by_32() static and __init

2025-02-25 Thread Madhavan Srinivasan
On Wed, 05 Feb 2025 10:54:26 +0100, Christophe Leroy wrote: > div128_by_32() used to be called from outside time.c in the old days > but since v2.6.15 it hasn't been used outside time.c > > $ git grep div128_by_32 v2.6.14 > v2.6.14:arch/ppc64/kernel/iSeries_setup.c:div128_by_32(1024 * 1024, 0,

[PATCH] powerpc/time: Define div128_by_32() static and __init

2025-02-05 Thread Christophe Leroy
div128_by_32() used to be called from outside time.c in the old days but since v2.6.15 it hasn't been used outside time.c $ git grep div128_by_32 v2.6.14 v2.6.14:arch/ppc64/kernel/iSeries_setup.c: div128_by_32(1024 * 1024, 0, tb_ticks_per_sec, &divres); v2.6.14:arch/ppc64/kernel/pmac_time.c: