diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-23 01:37:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:50 -0400 |
commit | ac2aca2817ca10ad30f86d0d3caa41ea8cc4f0f0 (patch) | |
tree | d48719c7b748d4bd99aa176fda481b25dbecd1c3 /arch/um/kernel | |
parent | ea6fb41752dda2e450bd8a318c7400f8cfa9111e (diff) | |
download | blackbird-op-linux-ac2aca2817ca10ad30f86d0d3caa41ea8cc4f0f0.tar.gz blackbird-op-linux-ac2aca2817ca10ad30f86d0d3caa41ea8cc4f0f0.zip |
um: uml_dup_mmap() relies on ->mmap_sem being held, but activate_mm() doesn't hold it
... while calling uml_dup_mmap()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/skas/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c index db2ef422c1b8..4947b319f53a 100644 --- a/arch/um/kernel/skas/mmu.c +++ b/arch/um/kernel/skas/mmu.c @@ -101,7 +101,7 @@ int init_new_context(struct task_struct *task, struct mm_struct *mm) return ret; } -void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) +void uml_setup_stubs(struct mm_struct *mm) { struct page **pages; int err, ret; |