[PATCH 2.5/2] generic-smp: remove cfd rcu_head

Peter Zijlstra
2009-02-14T14:47:21Z

Subject: generic-smp: remove cfd rcu_head
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Sat Feb 14 15:41:24 CET 2009

Since we no longer use call_rcu() on call_function_data, we can remove the
rcu_head structure from it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/smp.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

Index: linux-2.6/kernel/smp.c
===================================================================
--- linux-2.6.orig/kernel/smp.c
+++ linux-2.6/kernel/smp.c
@@ -39,10 +39,7 @@ struct call_function_data {
struct call_single_data csd;
spinlock_t lock;
unsigned int refs;
- union {
- struct rcu_head rcu_head;
- unsigned int stamp;
- };
+ unsigned int stamp;
struct cpumask cpumask;
};