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

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 354dece..4523917 100644
--- a/kernel/drivers/testing/switchtest.c
+++ b/kernel/drivers/testing/switchtest.c
@@ -8,9 +8,9 @@
 #include <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