Re: [PATCH] Drop superfluous casts in nr_free_pages() callers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 03, 2009 at 06:11:42PM +0200, Geert Uytterhoeven wrote:
> diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
> index 8277802..bc927ee 100644
> --- a/arch/arm/mm/init.c
> +++ b/arch/arm/mm/init.c
> @@ -536,8 +536,8 @@ void __init mem_init(void)
>  
>  	printk(KERN_NOTICE "Memory: %luKB available (%dK code, "
>  		"%dK data, %dK init, %luK highmem)\n",
> -		(unsigned long) nr_free_pages() << (PAGE_SHIFT-10),
> -		codesize >> 10, datasize >> 10, initsize >> 10,
> +		nr_free_pages() << (PAGE_SHIFT-10), codesize >> 10,
> +		datasize >> 10, initsize >> 10,
>  		(unsigned long) (totalhigh_pages << (PAGE_SHIFT-10)));
>  
>  	if (PAGE_SIZE >= 16384 && num_physpages <= 128) {

Acked-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux