diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-05-09 18:24:09 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-09 18:24:09 -0400 |
commit | 1f2ee6496b1f71e9d5aa2448745e65fbafdc3bd5 (patch) | |
tree | 3f143311afca5e316afd06c2fc4f7d73b19cdcf0 /mm/slub.c | |
parent | 5bf6c6e30d8b71d092e8830208e182d84b907fcd (diff) | |
parent | da109897a142dd017172c0ce7abf0be8646f7109 (diff) |
Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/nico/orion into fixes
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3762,7 +3762,7 @@ static int any_slab_objects(struct kmem_cache *s) | |||
3762 | if (!n) | 3762 | if (!n) |
3763 | continue; | 3763 | continue; |
3764 | 3764 | ||
3765 | if (atomic_read(&n->total_objects)) | 3765 | if (atomic_long_read(&n->total_objects)) |
3766 | return 1; | 3766 | return 1; |
3767 | } | 3767 | } |
3768 | return 0; | 3768 | return 0; |