Module: xenomai-forge
Branch: master
Commit: 212bc653daa6c2bb99138c3c35e498e3ef705925
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=212bc653daa6c2bb99138c3c35e498e3ef705925

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Mar 19 17:07:16 2012 +0100

cobalt/monitor: use proper magic tag

---

 kernel/cobalt/internal.h |    1 +
 kernel/cobalt/monitor.h  |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/internal.h b/kernel/cobalt/internal.h
index 0e62525..56edace 100644
--- a/kernel/cobalt/internal.h
+++ b/kernel/cobalt/internal.h
@@ -55,6 +55,7 @@
 #define COBALT_INTR_MAGIC        COBALT_MAGIC(0C)
 #define COBALT_TIMER_MAGIC       COBALT_MAGIC(0E)
 #define COBALT_EVENT_MAGIC       COBALT_MAGIC(0F)
+#define COBALT_MONITOR_MAGIC     COBALT_MAGIC(10)
 
 #define COBALT_MIN_PRIORITY      XNSCHED_LOW_PRIO
 #define COBALT_MAX_PRIORITY      XNSCHED_HIGH_PRIO
diff --git a/kernel/cobalt/monitor.h b/kernel/cobalt/monitor.h
index 4f4f82b..20411cd 100644
--- a/kernel/cobalt/monitor.h
+++ b/kernel/cobalt/monitor.h
@@ -21,8 +21,6 @@
 
 #include <asm/xenomai/atomic.h>
 
-#define COBALT_MONITOR_MAGIC 0x86861111
-
 #define COBALT_MONITOR_GRANTED    0x01
 #define COBALT_MONITOR_DRAINED    0x02
 #define COBALT_MONITOR_SIGNALED   0x03 /* i.e. GRANTED or DRAINED */


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

Reply via email to