]> git.dujemihanovic.xyz Git - linux.git/commit
sched_ext: Fix build when !CONFIG_STACKTRACE
authorTejun Heo <tj@kernel.org>
Mon, 23 Sep 2024 16:45:22 +0000 (06:45 -1000)
committerTejun Heo <tj@kernel.org>
Mon, 23 Sep 2024 16:45:22 +0000 (06:45 -1000)
commit62d3726d4cd66f3e48dfe0f0401e0d74e58c2170
treeffe5d26b4254a15abd72b2f45e913761fdfb1db5
parentedf1c586e92675c4e0eb27758fcdb55a56838de1
sched_ext: Fix build when !CONFIG_STACKTRACE

a2f4b16e736d ("sched_ext: Build fix on !CONFIG_STACKTRACE[_SUPPORT]") tried
fixing build when !CONFIG_STACKTRACE but didn't so fully. Also put
stack_trace_print() and stack_trace_save() inside CONFIG_STACKTRACE to fix
build when !CONFIG_STACKTRACE.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409220642.fDW2OmWc-lkp@intel.com/
kernel/sched/ext.c