X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fpage_alloc.c;h=f12ad1836abe115b1b8e3bf4b9187c01249e8a30;hb=a9138192d0e716c3e9714b3fe03543d93ebbad9f;hp=a8cfa9cc6e86e5d6912a39bc3f5c9d18fb97b7cf;hpb=20f4cad6b247160055915db4f4aaeda82e6c50ed;p=deliverable%2Flinux.git diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a8cfa9cc6e86..f12ad1836abe 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5182,9 +5182,9 @@ void *__init alloc_large_system_hash(const char *tablename, if (!table) panic("Failed to allocate %s hash table\n", tablename); - printk(KERN_INFO "%s hash table entries: %d (order: %d, %lu bytes)\n", + printk(KERN_INFO "%s hash table entries: %ld (order: %d, %lu bytes)\n", tablename, - (1U << log2qty), + (1UL << log2qty), ilog2(size) - PAGE_SHIFT, size);