diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-05 14:38:55 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-05 14:38:55 -0500 |
commit | 328198acb7407301ddf6005c0fa1e04bd0c539c8 (patch) | |
tree | 9936112bd195bfbaacc9a75f2ea7ff757a2c0546 /mm/mmap.c | |
parent | 9e0cb06b17be7e562cbdaba2768649f025826dc6 (diff) | |
parent | fecb4a0c87c2bcaee1f3cf800126eef752a07ed3 (diff) |
Merge branch 'master'
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1840,7 +1840,7 @@ asmlinkage long sys_munmap(unsigned long addr, size_t len) | |||
1840 | 1840 | ||
1841 | static inline void verify_mm_writelocked(struct mm_struct *mm) | 1841 | static inline void verify_mm_writelocked(struct mm_struct *mm) |
1842 | { | 1842 | { |
1843 | #ifdef CONFIG_DEBUG_KERNEL | 1843 | #ifdef CONFIG_DEBUG_VM |
1844 | if (unlikely(down_read_trylock(&mm->mmap_sem))) { | 1844 | if (unlikely(down_read_trylock(&mm->mmap_sem))) { |
1845 | WARN_ON(1); | 1845 | WARN_ON(1); |
1846 | up_read(&mm->mmap_sem); | 1846 | up_read(&mm->mmap_sem); |