Module: xenomai-3
Branch: stable-3.0.x
Commit: ac1d5182b0d6149e4797a238ecff5f01e7af3b0f
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ac1d5182b0d6149e4797a238ecff5f01e7af3b0f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Jul 20 06:01:39 2016 +0200

cobalt/process: fix build warning (missing CLOCKFREQ event)

---

 kernel/cobalt/posix/process.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/process.c b/kernel/cobalt/posix/process.c
index b112a1a..af94f4d 100644
--- a/kernel/cobalt/posix/process.c
+++ b/kernel/cobalt/posix/process.c
@@ -1262,7 +1262,7 @@ static int handle_cleanup_event(struct mm_struct *mm)
        return KEVENT_PROPAGATE;
 }
 
-static int handle_clockfreq_event(unsigned int *p)
+static inline int handle_clockfreq_event(unsigned int *p)
 {
        unsigned int newfreq = *p;
 


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

Reply via email to