aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2009-08-19 14:44:13 -0400
committerPekka Enberg <penberg@cs.helsinki.fi>2009-08-19 14:44:13 -0400
commit5086c389cb897c7ad66c1cacd1abb5ffebaa74b2 (patch)
treeb00fe4d4b898891c77cdb90a765cdf4299413007 /mm/slub.c
parentbbff2e433e80fae72c8d00d482927d52ec19ba33 (diff)
SLUB: Fix some coding style issues
Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c
index b9f1491a58a1..e4c3e3a6028f 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1109,8 +1109,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
1109 } 1109 }
1110 1110
1111 if (kmemcheck_enabled 1111 if (kmemcheck_enabled
1112 && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) 1112 && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) {
1113 {
1114 int pages = 1 << oo_order(oo); 1113 int pages = 1 << oo_order(oo);
1115 1114
1116 kmemcheck_alloc_shadow(page, oo_order(oo), flags, node); 1115 kmemcheck_alloc_shadow(page, oo_order(oo), flags, node);
@@ -2001,7 +2000,7 @@ static inline int calculate_order(int size)
2001 return order; 2000 return order;
2002 fraction /= 2; 2001 fraction /= 2;
2003 } 2002 }
2004 min_objects --; 2003 min_objects--;
2005 } 2004 }
2006 2005
2007 /* 2006 /*