Module: xenomai-jki
Branch: for-forge
Commit: eba1bab9e304295b47314c9079aa628dadd917e2
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=eba1bab9e304295b47314c9079aa628dadd917e2

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Sat Nov  8 07:38:21 2014 +0100

drivers/udd: Fix modular build

Switch udd_notify_event to the kernel-version of cobalt_sigqueue and
export that one for modules.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 kernel/cobalt/posix/signal.c |    1 +
 kernel/drivers/udd/udd.c     |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/signal.c b/kernel/cobalt/posix/signal.c
index 83f03fd..96923be 100644
--- a/kernel/cobalt/posix/signal.c
+++ b/kernel/cobalt/posix/signal.c
@@ -580,6 +580,7 @@ out:
 
        return ret;
 }
+EXPORT_SYMBOL_GPL(__cobalt_sigqueue);
 
 COBALT_SYSCALL(sigqueue, conforming,
               int, (pid_t pid, int sig,
diff --git a/kernel/drivers/udd/udd.c b/kernel/drivers/udd/udd.c
index 9a6ea9f..e5a12a1 100644
--- a/kernel/drivers/udd/udd.c
+++ b/kernel/drivers/udd/udd.c
@@ -476,7 +476,7 @@ void udd_notify_event(struct udd_device *udd)
 
        if (ur->signfy.pid > 0) {
                sival.sival_int = atomic_read(&ur->event);
-               cobalt_sigqueue(ur->signfy.pid, ur->signfy.sig, &sival);
+               __cobalt_sigqueue(ur->signfy.pid, ur->signfy.sig, &sival);
        }
 }
 EXPORT_SYMBOL_GPL(udd_notify_event);


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

Reply via email to