rcu: move alignment to per-cpu structure
[libside.git] / src / rcu.h
index 37eaaec199a301aabe628fb65359adedfe47e10f..c3c458212458271e95f78461031fcc7e5690b1cc 100644 (file)
--- a/src/rcu.h
+++ b/src/rcu.h
@@ -25,11 +25,11 @@ struct side_rcu_percpu_count {
        uintptr_t rseq_begin;
        uintptr_t end;
        uintptr_t rseq_end;
-}  __attribute__((__aligned__(SIDE_CACHE_LINE_SIZE)));
+};
 
 struct side_rcu_cpu_gp_state {
        struct side_rcu_percpu_count count[2];
-};
+} __attribute__((__aligned__(SIDE_CACHE_LINE_SIZE)));
 
 struct side_rcu_gp_state {
        struct side_rcu_cpu_gp_state *percpu_state;
This page took 0.025918 seconds and 4 git commands to generate.