add missing tests
[lttv.git] / tests / kernel / test-cmpxchg.c
index 77eafaf084ffdaf95e113fd53f17aadde7149519..69a25334219fc9ef8ec275b3b266212ca740b3db 100644 (file)
 
 #define NR_LOOPS 20000
 
-
 volatile int test_val = 100;
 
 
-static void do_test(void)
+static inline void do_test(void)
 {
        int val, ret;
 
@@ -25,7 +24,7 @@ static void do_test(void)
        ret = cmpxchg(&test_val, val, val+1);
 }
 
-void (*fct)(void) = do_test;
+//void (*fct)(void) = do_test;
 
 static int ltt_test_init(void)
 {
This page took 0.024992 seconds and 4 git commands to generate.