X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=40fe4df6bd763f81240b4d08d8bfa7047e344ec1;hb=7f61a77fffa376ff47a2a8fb56e16d8e20787139;hp=5c5d4eb1a57ad87a0b2ec8f7c10ed704efd6b66f;hpb=1b81fe1a14149b4c3f878b53e050a6ad5374a569;p=urcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 5c5d4eb..40fe4df 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -8,8 +8,13 @@ extern "C" { #endif +/* + * struct rcu_ht_node and struct _rcu_ht_node should be aligned on + * 4-bytes boundaries because the two lower bits are used as flags. + */ + struct _rcu_ht_node { - struct rcu_ht_node *next; + struct rcu_ht_node *next; /* ptr | DUMMY_FLAG | REMOVED_FLAG */ unsigned long reverse_hash; };