From: Tejun Heo Date: Fri, 9 Apr 2010 09:57:01 +0000 (+0900) Subject: percpu: reorganize chunk creation and destruction X-Git-Tag: v2.6.35-rc1~486^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6081089fd6f216b0eb8849205ad0c350cd5ed9bc;p=pandora-kernel.git percpu: reorganize chunk creation and destruction Reorganize alloc/free_pcpu_chunk() such that chunk struct alloc/free live in pcpu_alloc/free_chunk() and the rest in pcpu_create/destroy_chunk(). While at it, add missing error handling for chunk->map allocation failure. This is to allow alternate chunk management implementation for percpu nommu support. Signed-off-by: Tejun Heo Reviewed-by: David Howells Cc: Graff Yang Cc: Sonic Zhang --- Reading git-diff-tree failed