]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/slub.c
istallion: Use helpers
[linux-2.6-omap-h63xx.git] / mm / slub.c
index 6cd9fec18f929f6050bc308393af54cfd3838829..6d4a49c1ff2fc27bef0616c03016394d551fc5be 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -492,7 +492,7 @@ static void print_trailer(struct kmem_cache *s, struct page *page, u8 *p)
        if (p > addr + 16)
                print_section("Bytes b4", p - 16, 16);
 
-       print_section("Object", p, min(s->objsize, 128));
+       print_section("Object", p, min_t(unsigned long, s->objsize, PAGE_SIZE));
 
        if (s->flags & SLAB_RED_ZONE)
                print_section("Redzone", p + s->objsize,