diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcupreempt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcupreempt.c b/kernel/rcupreempt.c index c7c52096df48..845abcd472b0 100644 --- a/kernel/rcupreempt.c +++ b/kernel/rcupreempt.c | |||
@@ -918,8 +918,9 @@ void rcu_offline_cpu(int cpu) | |||
918 | * fix. | 918 | * fix. |
919 | */ | 919 | */ |
920 | 920 | ||
921 | local_irq_save(flags); | ||
921 | rdp = RCU_DATA_ME(); | 922 | rdp = RCU_DATA_ME(); |
922 | spin_lock_irqsave(&rdp->lock, flags); | 923 | spin_lock(&rdp->lock); |
923 | *rdp->nexttail = list; | 924 | *rdp->nexttail = list; |
924 | if (list) | 925 | if (list) |
925 | rdp->nexttail = tail; | 926 | rdp->nexttail = tail; |