]> Gentwo Git Trees - linux/.git/commit
cgroup: Fix 64-bit division in cgroup.stat.local
authorTiffany Yang <ynaffit@google.com>
Sat, 23 Aug 2025 02:21:28 +0000 (19:21 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 25 Aug 2025 18:16:55 +0000 (08:16 -1000)
commit8d2a75589599fd8cd5c542c8052642445652ca5e
tree49d93ccb3e6ac3ecf9fa5f9f0dc92882b1740136
parent7b281a4582c4408add22cc99f221886b50dd0548
cgroup: Fix 64-bit division in cgroup.stat.local

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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508230604.KyvqOy81-lkp@intel.com/
Signed-off-by: Tiffany Yang <ynaffit@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c