[PATCH] lockdep: better lock debugging
[powerpc.git] / mm / vmalloc.c
index 35f8553..7b45079 100644 (file)
@@ -330,6 +330,8 @@ void __vunmap(void *addr, int deallocate_pages)
                return;
        }
 
+       debug_check_no_locks_freed(addr, area->size);
+
        if (deallocate_pages) {
                int i;