X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Fmarker.h;h=577b2fb4985cfcaaab23f75ff937085cf734cf56;hb=9389f19df977153396835ea4ca766f72548ecc74;hp=d9c0e5f0f48bdce650fa9b380b9acd7b20af7a3a;hpb=e05cba90ba95c84c8377baf22662b81fb2bfaf64;p=ust.git diff --git a/include/ust/marker.h b/include/ust/marker.h index d9c0e5f..577b2fb 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -32,6 +32,8 @@ #include #include +#include + //ust// struct module; //ust// struct task_struct; struct marker; @@ -113,7 +115,7 @@ struct marker { ".byte 0\n\t" /* ptype */ \ ".word 0\n\t" /* channel_id */ \ ".word 0\n\t" /* event_id */ \ - ".align " XSTR(__SIZEOF_POINTER__) "\n\t" /* alignment */ \ + ".align " XSTR(__WORDSIZE) " / 8\n\t" /* alignment */ \ _ASM_PTR "(marker_probe_cb)\n\t" /* call */ \ _ASM_PTR "(__mark_empty_function)\n\t" /* marker_probe_closure single.field1 */ \ _ASM_PTR "0\n\t" /* marker_probe_closure single.field2 */ \