aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcuclassic.c')
-rw-r--r--kernel/rcuclassic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c
index 3f6918966bda..743cf0550ff4 100644
--- a/kernel/rcuclassic.c
+++ b/kernel/rcuclassic.c
@@ -714,7 +714,7 @@ void rcu_check_callbacks(int cpu, int user)
714static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp, 714static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp,
715 struct rcu_data *rdp) 715 struct rcu_data *rdp)
716{ 716{
717 long flags; 717 unsigned long flags;
718 718
719 spin_lock_irqsave(&rcp->lock, flags); 719 spin_lock_irqsave(&rcp->lock, flags);
720 memset(rdp, 0, sizeof(*rdp)); 720 memset(rdp, 0, sizeof(*rdp));