提交 0e064caf 编写于 作者: I Ingo Molnar

Merge branches 'core/futexes' and 'core/iommu' into core/urgent

Merge reason: Switch from topical split to the stabilization track
Signed-off-by: NIngo Molnar <mingo@elte.hu>
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <asm/x86_init.h> #include <asm/x86_init.h>
int gart_iommu_aperture; int gart_iommu_aperture;
EXPORT_SYMBOL_GPL(gart_iommu_aperture);
int gart_iommu_aperture_disabled __initdata; int gart_iommu_aperture_disabled __initdata;
int gart_iommu_aperture_allowed __initdata; int gart_iommu_aperture_allowed __initdata;
......
...@@ -146,7 +146,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, ...@@ -146,7 +146,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
struct task_struct *p; struct task_struct *p;
ret = -ESRCH; ret = -ESRCH;
read_lock(&tasklist_lock); rcu_read_lock();
p = find_task_by_vpid(pid); p = find_task_by_vpid(pid);
if (!p) if (!p)
goto err_unlock; goto err_unlock;
...@@ -157,7 +157,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, ...@@ -157,7 +157,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
!capable(CAP_SYS_PTRACE)) !capable(CAP_SYS_PTRACE))
goto err_unlock; goto err_unlock;
head = p->compat_robust_list; head = p->compat_robust_list;
read_unlock(&tasklist_lock); rcu_read_unlock();
} }
if (put_user(sizeof(*head), len_ptr)) if (put_user(sizeof(*head), len_ptr))
...@@ -165,7 +165,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, ...@@ -165,7 +165,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
return put_user(ptr_to_compat(head), head_ptr); return put_user(ptr_to_compat(head), head_ptr);
err_unlock: err_unlock:
read_unlock(&tasklist_lock); rcu_read_unlock();
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册