Commit cfd17071 authored by Linus Torvalds's avatar Linus Torvalds

Automerge

parents d36d3c60 92af3e25
...@@ -189,7 +189,7 @@ void free_initmem(void) ...@@ -189,7 +189,7 @@ void free_initmem(void)
totalram_pages++; totalram_pages++;
} }
printk ("Freeing unused kernel memory: %dk freed\n", printk ("Freeing unused kernel memory: %dk freed\n",
(&__init_end - &__init_begin) >> 10); ((unsigned long)&__init_end - (unsigned long)&__init_begin) >> 10);
} }
#ifdef CONFIG_BLK_DEV_INITRD #ifdef CONFIG_BLK_DEV_INITRD
......
...@@ -201,7 +201,7 @@ void free_initmem(void) ...@@ -201,7 +201,7 @@ void free_initmem(void)
totalram_pages++; totalram_pages++;
} }
printk ("Freeing unused kernel memory: %ldk freed\n", printk ("Freeing unused kernel memory: %ldk freed\n",
(&__init_end - &__init_begin) >> 10); ((unsigned long)&__init_end - (unsigned long)&__init_begin) >> 10);
} }
#ifdef CONFIG_BLK_DEV_INITRD #ifdef CONFIG_BLK_DEV_INITRD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment