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

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Nov 20 19:53:12 2013 +0100

switchtest: Avoid clashes RTSWITCH_* vs. RTTST_SWTEST_* constants

Namely RTTST_SWTEST_FREEZE and RTSWITCH_RT were using the same value.

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

---

 kernel/drivers/testing/switchtest.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/testing/switchtest.c 
b/kernel/drivers/testing/switchtest.c
index 8850962..836194b 100644
--- a/kernel/drivers/testing/switchtest.c
+++ b/kernel/drivers/testing/switchtest.c
@@ -8,9 +8,9 @@
 #include <rtdm/rtdm_driver.h>
 #include <asm/xenomai/fptest.h>
 
-#define RTSWITCH_RT      0x4
+#define RTSWITCH_RT      0x10000
 #define RTSWITCH_NRT     0
-#define RTSWITCH_KERNEL  0x8
+#define RTSWITCH_KERNEL  0x20000
 
 typedef struct {
        struct rttst_swtest_task base;


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

Reply via email to