Re: [PATCH] cgroup: Fix 64-bit division in cgroup.stat.local
From: Tejun Heo
Date: Mon Aug 25 2025 - 14:18:11 EST
On Fri, Aug 22, 2025 at 07:21:28PM -0700, Tiffany Yang wrote:
> Fix the following build error for 32-bit systems:
> arm-linux-gnueabi-ld: kernel/cgroup/cgroup.o: in function `cgroup_core_local_stat_show':
> >> kernel/cgroup/cgroup.c:3781:(.text+0x28f4): undefined reference to `__aeabi_uldivmod'
> arm-linux-gnueabi-ld: (__aeabi_uldivmod): Unknown destination type (ARM/Thumb) in kernel/cgroup/cgroup.o
> >> kernel/cgroup/cgroup.c:3781:(.text+0x28f4): dangerous relocation: unsupported relocation
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202508230604.KyvqOy81-lkp@xxxxxxxxx/
> Signed-off-by: Tiffany Yang <ynaffit@xxxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
Applied to cgroup/for-6.18.
Thanks.
--
tejun