mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: rcu: rcu_sched_grace_period(): kill the bogus flush_signals() rculist: use list_entry_rcu in places where it's appropriate rculist.h: introduce list_entry_rcu() and list_first_entry_rcu() rcu: Update RCU tracing documentation for __rcu_pending rcu: Add __rcu_pending tracing to hierarchical RCU RCU: make treercu be default
This commit is contained in:
commit
20f3f3ca49
11 changed files with 213 additions and 51 deletions
|
|
@ -1290,8 +1290,8 @@ void exit_sem(struct task_struct *tsk)
|
|||
int i;
|
||||
|
||||
rcu_read_lock();
|
||||
un = list_entry(rcu_dereference(ulp->list_proc.next),
|
||||
struct sem_undo, list_proc);
|
||||
un = list_entry_rcu(ulp->list_proc.next,
|
||||
struct sem_undo, list_proc);
|
||||
if (&un->list_proc == &ulp->list_proc)
|
||||
semid = -1;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue