[Xenomai-git] Philippe Gerum : lib/cobalt: fix private event state accessor

2015-08-15 Thread git repository hosting
Module: xenomai-3
Branch: master
Commit: 23bb3153a512788f3427f06da9c6d358be6a9f21
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=23bb3153a512788f3427f06da9c6d358be6a9f21

Author: Philippe Gerum 
Date:   Wed Aug  5 16:08:23 2015 +0200

lib/cobalt: fix private event state accessor

---

 lib/cobalt/internal.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cobalt/internal.c b/lib/cobalt/internal.c
index 348ca14..62ecb4a 100644
--- a/lib/cobalt/internal.c
+++ b/lib/cobalt/internal.c
@@ -426,7 +426,7 @@ struct cobalt_event_state *get_event_state(cobalt_event_t 
*event)
 {
return event->flags & COBALT_EVENT_SHARED ?
cobalt_umm_shared + event->state_offset :
-   cobalt_umm_shared + event->state_offset;
+   cobalt_umm_private + event->state_offset;
 }
 
 int cobalt_event_init(cobalt_event_t *event, unsigned int value,


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


[Xenomai-git] Philippe Gerum : lib/cobalt: fix private event state accessor

2015-08-10 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 23bb3153a512788f3427f06da9c6d358be6a9f21
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=23bb3153a512788f3427f06da9c6d358be6a9f21

Author: Philippe Gerum 
Date:   Wed Aug  5 16:08:23 2015 +0200

lib/cobalt: fix private event state accessor

---

 lib/cobalt/internal.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cobalt/internal.c b/lib/cobalt/internal.c
index 348ca14..62ecb4a 100644
--- a/lib/cobalt/internal.c
+++ b/lib/cobalt/internal.c
@@ -426,7 +426,7 @@ struct cobalt_event_state *get_event_state(cobalt_event_t 
*event)
 {
return event->flags & COBALT_EVENT_SHARED ?
cobalt_umm_shared + event->state_offset :
-   cobalt_umm_shared + event->state_offset;
+   cobalt_umm_private + event->state_offset;
 }
 
 int cobalt_event_init(cobalt_event_t *event, unsigned int value,


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


[Xenomai-git] Philippe Gerum : lib/cobalt: fix private event state accessor

2015-08-06 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 574c8e2edb99ff523e765cdb8749dd5259784627
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=574c8e2edb99ff523e765cdb8749dd5259784627

Author: Philippe Gerum 
Date:   Wed Aug  5 16:08:23 2015 +0200

lib/cobalt: fix private event state accessor

---

 lib/cobalt/internal.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cobalt/internal.c b/lib/cobalt/internal.c
index 348ca14..62ecb4a 100644
--- a/lib/cobalt/internal.c
+++ b/lib/cobalt/internal.c
@@ -426,7 +426,7 @@ struct cobalt_event_state *get_event_state(cobalt_event_t 
*event)
 {
return event->flags & COBALT_EVENT_SHARED ?
cobalt_umm_shared + event->state_offset :
-   cobalt_umm_shared + event->state_offset;
+   cobalt_umm_private + event->state_offset;
 }
 
 int cobalt_event_init(cobalt_event_t *event, unsigned int value,


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