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

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

testsuite/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