aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorgaoxu <[email protected]>2025-04-17 07:30:00 +0000
committerTejun Heo <[email protected]>2025-04-17 16:27:31 +0000
commit87c259a7a359e73e6c52c68fcbec79988999b4e6 (patch)
tree4b6c3bf1cb10d685fae68dc1578908ff395ee5a0 /rust/macros/paste.rs
parentMerge tag 'mm-hotfixes-stable-2025-04-16-19-59' of git://git.kernel.org/pub/s... (diff)
downloadkernel-87c259a7a359e73e6c52c68fcbec79988999b4e6.tar.gz
kernel-87c259a7a359e73e6c52c68fcbec79988999b4e6.zip
cgroup: Fix compilation issue due to cgroup_mutex not being exported
When adding folio_memcg function call in the zram module for Android16-6.12, the following error occurs during compilation: ERROR: modpost: "cgroup_mutex" [../soc-repo/zram.ko] undefined! This error is caused by the indirect call to lockdep_is_held(&cgroup_mutex) within folio_memcg. The export setting for cgroup_mutex is controlled by the CONFIG_PROVE_RCU macro. If CONFIG_LOCKDEP is enabled while CONFIG_PROVE_RCU is not, this compilation error will occur. To resolve this issue, add a parallel macro CONFIG_LOCKDEP control to ensure cgroup_mutex is properly exported when needed. Signed-off-by: gao xu <[email protected]> Acked-by: Michal Koutný <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions