[Xenomai-git] Jan Kiszka : nucleus: Remove unneeded atomic manipulation of xnsched:: status

2013-02-04 Thread GIT version control
Module: xenomai-2.6
Branch: master
Commit: 2ed55e46f01a8e937916d2998a0cab4c84708b18
URL:
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=2ed55e46f01a8e937916d2998a0cab4c84708b18

Author: Jan Kiszka jan.kis...@siemens.com
Date:   Fri Jan 18 20:05:38 2013 +0100

nucleus: Remove unneeded atomic manipulation of xnsched::status

Minor optimization, but helps to clarify the usage: this field is
protected by nklock.

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

---

 ksrc/nucleus/pod.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index a5afaa5..868f98f 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -2176,7 +2176,7 @@ static inline int __xnpod_test_resched(struct xnsched 
*sched)
 #else
resched = xnsched_resched_p(sched);
 #endif
-   clrbits(sched-status, XNRESCHED);
+   __clrbits(sched-status, XNRESCHED);
return resched;
 }
 


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


[Xenomai-git] Jan Kiszka : nucleus: Remove unneeded atomic manipulation of xnsched:: status

2013-01-24 Thread GIT version control
Module: xenomai-jki
Branch: for-upstream
Commit: e54d2a99a7540f94093acfdbd0f599e0c8301715
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=e54d2a99a7540f94093acfdbd0f599e0c8301715

Author: Jan Kiszka jan.kis...@siemens.com
Date:   Fri Jan 18 20:05:38 2013 +0100

nucleus: Remove unneeded atomic manipulation of xnsched::status

Minor optimization, but helps to clarify the usage: this field is
protected by nklock.

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

---

 ksrc/nucleus/pod.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index a5afaa5..868f98f 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -2176,7 +2176,7 @@ static inline int __xnpod_test_resched(struct xnsched 
*sched)
 #else
resched = xnsched_resched_p(sched);
 #endif
-   clrbits(sched-status, XNRESCHED);
+   __clrbits(sched-status, XNRESCHED);
return resched;
 }
 


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


[Xenomai-git] Jan Kiszka : nucleus: Remove unneeded atomic manipulation of xnsched:: status

2013-01-18 Thread GIT version control
Module: xenomai-jki
Branch: for-upstream
Commit: 9292dc70d5f250da6a29f656f0232931fe6f03b9
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=9292dc70d5f250da6a29f656f0232931fe6f03b9

Author: Jan Kiszka jan.kis...@siemens.com
Date:   Fri Jan 18 20:05:38 2013 +0100

nucleus: Remove unneeded atomic manipulation of xnsched::status

Minor optimization, but helps to clarify the usage: this field is
protected by nklock.

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

---

 ksrc/nucleus/pod.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index a5afaa5..868f98f 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -2176,7 +2176,7 @@ static inline int __xnpod_test_resched(struct xnsched 
*sched)
 #else
resched = xnsched_resched_p(sched);
 #endif
-   clrbits(sched-status, XNRESCHED);
+   __clrbits(sched-status, XNRESCHED);
return resched;
 }
 


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