Module: xenomai-3 Branch: stable-3.0.x Commit: 4e5df39110bdbbabcb99a428a34fa492dbf483ac URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4e5df39110bdbbabcb99a428a34fa492dbf483ac
Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jul 28 13:03:13 2017 +0200 cobalt/procfs: fix conditional This fixes a regression introduced by 8deca75720. The rationale behind the original change remains though. --- kernel/cobalt/procfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cobalt/procfs.c b/kernel/cobalt/procfs.c index 9d193af..ade13cf 100644 --- a/kernel/cobalt/procfs.c +++ b/kernel/cobalt/procfs.c @@ -216,7 +216,7 @@ static struct xnvfile_regular apc_vfile = { void xnprocfs_cleanup_tree(void) { #ifdef CONFIG_XENO_OPT_DEBUG -#ifdef CONFIG_XENO_DEBUG_LOCKING +#ifdef CONFIG_XENO_OPT_DEBUG_LOCKING xnvfile_destroy_regular(&lock_vfile); #endif xnvfile_destroy_dir(&cobalt_debug_vfroot); @@ -253,7 +253,7 @@ int __init xnprocfs_init_tree(void) xnvfile_init_regular("apc", &apc_vfile, &cobalt_vfroot); #ifdef CONFIG_XENO_OPT_DEBUG xnvfile_init_dir("debug", &cobalt_debug_vfroot, &cobalt_vfroot); -#ifdef CONFIG_XENO_DEBUG_LOCKING +#ifdef CONFIG_XENO_OPT_DEBUG_LOCKING xnvfile_init_regular("lock", &lock_vfile, &cobalt_debug_vfroot); #endif #endif _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git