Skip to content
Commit 79a7f41f authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: cgroup refcnt functions should be exported when CONFIG_DEBUG_CGROUP_REF



6ab42860 ("cgroup: Implement DEBUG_CGROUP_REF") added a config option
which forces cgroup refcnt functions to be not inlined so that they can be
kprobed for debugging. However, it forgot export them when the config is
enabled breaking modules which make use of css reference counting.

Fix it by adding CGROUP_REF_EXPORT() macro to cgroup_refcnt.h which is
defined to EXPORT_SYMBOL_GPL when CONFIG_DEBUG_CGROUP_REF is set.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Fixes: 6ab42860 ("cgroup: Implement DEBUG_CGROUP_REF")
parent 6ab42860
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment