Re: [PATCH RT] convert RCU Preempt tasklet into softirq.

From
Steven Rostedt <rostedt@goodmis.org>
Date
2007-06-08 15:28:21
Also in
lkml
Reply to
Paul E. McKenney, 2007-06-07
On Thu, 2007-06-07 at 14:02 -0700, Paul E. McKenney wrote:
Some nits below.

						Thanx, Paul
quoted
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Index: linux-2.6.21-rt9/include/linux/rcupreempt.h
===================================================================
--- linux-2.6.21-rt9.orig/include/linux/rcupreempt.h
+++ linux-2.6.21-rt9/include/linux/rcupreempt.h
@@ -63,7 +63,9 @@ extern void rcu_check_callbacks(int cpu,
 extern void rcu_restart_cpu(int cpu);
 extern long rcu_batches_completed(void);

-extern void rcu_process_callbacks(unsigned long unused);
+struct softirq_action;
+
+extern void rcu_process_callbacks(struct softirq_action *unused);
I don't understand why the above is needed -- interrupt.h is included,
and the use of rcu_process_callbacks() follows the definition.
quoted
 #endif /* __KERNEL__ */
 #endif /* __LINUX_RCUPREEMPT_H */
The first time I compiled it, I forgot the ';' and got a warning there.
But the warning also included "declaring structure softirq_action in
prototype", so I fixed both the ';' and added the struct. I can try
compile without it. But I also know that adding #include <interrupt.h>
in rcupreempt.h caused issues too.

-- Steve
Thread (13 messages) 13 messages, 4 authors, last reply 2007-09-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help