Make rcupreempt.c compile with CONFIG_RCU_TRACE not set
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Make rcupreempt.c compile with CONFIG_RCU_TRACE not set
RCU_TRACE is always defined.
Signed-off-by Karsten Wiese <[email protected]>
---
kernel/rcupreempt.c +1 -1
@@ -619,7 +619,7 @@ void synchronize_kernel(void)synchronize_rcu (); } -#ifdef RCU_TRACE +#ifdef CONFIG_RCU_TRACE int *rcupreempt_flipctr (int cpu) {return &per_cpu (rcu_flipctr, cpu)[0 ];
Quoted 2 lines · Karsten Wiese
RCU_TRACEis always defined.
Good catch!!!
Acked-by Paul E. McKenney <[email protected]>
Quoted 15 lines
Signed-off-by Karsten Wiese <[email protected]>---
diff -purrc6-mm2/kernel/rcupreempt.crc6-mm2-kw/kernel/rcupreempt.ckernel/rcupreempt.c +1
-1@@ -619,7 +619,7 @@ void synchronize_kernel(void)synchronize_rcu (); } -#ifdef RCU_TRACE +#ifdef CONFIG_RCU_TRACE int *rcupreempt_flipctr (int cpu) {return &per_cpu (rcu_flipctr, cpu)[0 ];