Module: xenomai-3
Branch: arm64
Commit: f428008a8afec24abcc001980d255ed0f299a782
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f428008a8afec24abcc001980d255ed0f299a782

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Oct 16 15:06:40 2015 +0200

lib/cobalt: explain -ENOSYS upon binding error

---

 lib/cobalt/init.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cobalt/init.c b/lib/cobalt/init.c
index 3e88d06..ea8609c 100644
--- a/lib/cobalt/init.c
+++ b/lib/cobalt/init.c
@@ -112,6 +112,8 @@ static void low_init(void)
        case -ENOEXEC:
                early_panic("ABI mismatch: required r%lu, provided r%lu",
                            XENOMAI_ABI_REV, f->feat_abirev);
+       case -ENOSYS:
+               early_panic("Cobalt core not enabled in kernel");
        default:
                early_panic("binding failed: %s", strerror(-ret));
        }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to