always initialize statically the .location field of struct marker to NULL
[ust.git] / libust / marker.h
index 06f2b93f826d25fbf4ec976668b3ff14a3658126..da3d30c873c8b1bf58ab793d01714d25606c0553 100644 (file)
@@ -31,7 +31,7 @@
 #include "kernelcompat.h"
 #include <kcompat/list.h>
 #include "localerr.h"
-#include "registers.h"
+#include "processor.h"
 
 //ust// struct module;
 //ust// struct task_struct;
@@ -94,11 +94,10 @@ struct marker {
                                                sizeof(#name)],         \
                  0, 0, 0, 0, marker_probe_cb,                          \
                  { __mark_empty_function, NULL},                       \
-                 NULL, tp_name_str, tp_cb };                           \
+                 NULL, tp_name_str, tp_cb, NULL };                     \
                asm (".section __marker_addr,\"aw\",@progbits\n\t"      \
                       _ASM_PTR "%c[marker_struct], (1f)\n\t"           \
                       ".previous\n\t"                                  \
-                      "\n\t"                                           \
                       "1:\n\t"                                         \
                        :: [marker_struct] "i" (&__mark_##channel##_##name));\
                save_registers(&regs)
This page took 0.02352 seconds and 4 git commands to generate.