[Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

Tang Chen tangchen at cn.fujitsu.com
Tue Dec 4 20:47:00 EST 2012


On 11/27/2012 06:00 PM, Wen Congyang wrote:
>   static int __remove_section(struct zone *zone, struct mem_section *ms)
>   {
>   	unsigned long flags;
> @@ -330,9 +317,9 @@ static int __remove_section(struct zone *zone, struct mem_section *ms)
>   	pgdat_resize_lock(pgdat,&flags);
>   	sparse_remove_one_section(zone, ms);
>   	pgdat_resize_unlock(pgdat,&flags);
> -	return 0;
> +
> +	return ret;

I think we don't need to change this line. :)

Reviewed-by: Tang Chen <tangchen at cn.fujitsu.com>



More information about the Linuxppc-dev mailing list