Commit 6cb12af2 authored by Tiffany Yang's avatar Tiffany Yang Committed by Treehugger Robot
Browse files

FROMGIT: 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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508230604.KyvqOy81-lkp@intel.com/


Signed-off-by: default avatarTiffany Yang <ynaffit@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Change-Id: Ib7e251bdb91cc056e5e92eae1907f66fcd185beb
Fixes: 34ca287503c8 ("BACKPORT: FROMGIT: cgroup: cgroup.stat.local time
accounting")
(cherry picked from commit 8d2a7558
https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git

 for-6.18)
Signed-off-by: default avatarTiffany Yang <ynaffit@google.com>
parent 4d45d195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment