From: Tejun Heo Date: Fri, 3 Jul 2009 23:10:59 +0000 (+0900) Subject: percpu: simplify pcpu_setup_first_chunk() X-Git-Tag: v2.6.32-rc1~676^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a6be525460f52ac6f2de1c3f73c5615a8853cd;p=pandora-kernel.git percpu: simplify pcpu_setup_first_chunk() Now that all first chunk allocator helpers allocate and map the first chunk themselves, there's no need to have optional default alloc/map in pcpu_setup_first_chunk(). Drop @populate_pte_fn and only leave @dyn_size optional and make all other params mandatory. This makes it much easier to follow what pcpu_setup_first_chunk() is doing and what actual differences tweaking each parameter results in. [ Impact: drop unused code path ] Signed-off-by: Tejun Heo Cc: Ingo Molnar --- Reading git-diff-tree failed