update makefile
[lttv.git] / tests / kernel / test-cmpxchg.c
index 77eafaf084ffdaf95e113fd53f17aadde7149519..da7f515a5bbc00332131e30ceb21be932ab270f6 100644 (file)
@@ -16,7 +16,7 @@
 volatile int test_val = 100;
 
 
-static void do_test(void)
+static inline void do_test(void)
 {
        int val, ret;
 
@@ -25,7 +25,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.023133 seconds and 4 git commands to generate.