summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2026-05-04 21:34:46 +0300
committerPetr Mladek <pmladek@suse.com>2026-05-06 15:09:33 +0300
commit1f4cbeec25ee2b8c9604a16b9c15debb78cfb8dd (patch)
treee22c981920adfae8cde316a03ebfecc34dce79ca /include/linux/stacktrace.h
parente6b71aefaec5bcc683c242486ec410c53ec37793 (diff)
downloadlinux-1f4cbeec25ee2b8c9604a16b9c15debb78cfb8dd.tar.xz
selftests: livepatch: Check if replace sysfs attribute exists
The commit adb68ed26a3e ("livepatch: Add "replace" sysfs attribute"), merged in v6.11, introduced a new sysfs attribute. In order to run the selftests on older kernels, check if given kernel has support for the attribute. If the attribute is not supported, skip the checks. While at it, create a local variable to hold the module name to be tested, instead of overwriting MOD_LIVEPATCH. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Link: https://patch.msgid.link/20260504-lp-tests-old-fixes-v5-5-0be26d94ab9a@suse.com Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions