nommu: struct vm_region's vm_usage count need not be atomic
[linux-2.6-block.git] / include / linux / mm_types.h
index 84d020bed0830eecb4ffd3e678d2c64f7ff4ddc1..80cfa78a8cf6945ef721b9786b4366be58b42c52 100644 (file)
@@ -122,7 +122,7 @@ struct vm_region {
        unsigned long   vm_pgoff;       /* the offset in vm_file corresponding to vm_start */
        struct file     *vm_file;       /* the backing file or NULL */
 
-       atomic_t        vm_usage;       /* region usage count */
+       int             vm_usage;       /* region usage count (access under nommu_region_sem) */
        bool            vm_icache_flushed : 1; /* true if the icache has been flushed for
                                                * this region */
 };