Skip to content

Commit 0e064ca

Browse files
author
Ingo Molnar
committed
Merge branches 'core/futexes' and 'core/iommu' into core/urgent
Merge reason: Switch from topical split to the stabilization track Signed-off-by: Ingo Molnar <mingo@elte.hu>
3 parents 90a6501 + f409adf + c13f3d3 commit 0e064ca

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎arch/x86/kernel/aperture_64.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include <asm/x86_init.h>
3232

3333
int gart_iommu_aperture;
34-
EXPORT_SYMBOL_GPL(gart_iommu_aperture);
3534
int gart_iommu_aperture_disabled __initdata;
3635
int gart_iommu_aperture_allowed __initdata;
3736

‎kernel/futex_compat.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
146146
struct task_struct *p;
147147

148148
ret = -ESRCH;
149-
read_lock(&tasklist_lock);
149+
rcu_read_lock();
150150
p = find_task_by_vpid(pid);
151151
if (!p)
152152
goto err_unlock;
@@ -157,15 +157,15 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
157157
!capable(CAP_SYS_PTRACE))
158158
goto err_unlock;
159159
head = p->compat_robust_list;
160-
read_unlock(&tasklist_lock);
160+
rcu_read_unlock();
161161
}
162162

163163
if (put_user(sizeof(*head), len_ptr))
164164
return -EFAULT;
165165
return put_user(ptr_to_compat(head), head_ptr);
166166

167167
err_unlock:
168-
read_unlock(&tasklist_lock);
168+
rcu_read_unlock();
169169

170170
return ret;
171171
}

0 commit comments

Comments
 (0)