File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,9 @@ static int cpu_pm_notify(enum cpu_pm_event event)
30
30
{
31
31
int ret ;
32
32
33
- /*
34
- * This introduces a RCU read critical section, which could be
35
- * disfunctional in cpu idle. Copy RCU_NONIDLE code to let RCU know
36
- * this.
37
- */
38
- ct_irq_enter_irqson ();
39
33
rcu_read_lock ();
40
34
ret = raw_notifier_call_chain (& cpu_pm_notifier .chain , event , NULL );
41
35
rcu_read_unlock ();
42
- ct_irq_exit_irqson ();
43
36
44
37
return notifier_to_errno (ret );
45
38
}
@@ -49,11 +42,9 @@ static int cpu_pm_notify_robust(enum cpu_pm_event event_up, enum cpu_pm_event ev
49
42
unsigned long flags ;
50
43
int ret ;
51
44
52
- ct_irq_enter_irqson ();
53
45
raw_spin_lock_irqsave (& cpu_pm_notifier .lock , flags );
54
46
ret = raw_notifier_call_chain_robust (& cpu_pm_notifier .chain , event_up , event_down , NULL );
55
47
raw_spin_unlock_irqrestore (& cpu_pm_notifier .lock , flags );
56
- ct_irq_exit_irqson ();
57
48
58
49
return notifier_to_errno (ret );
59
50
}
You can’t perform that action at this time.
0 commit comments