From: Tejun Heo Date: Tue, 17 Jun 2014 23:12:37 +0000 (-0400) Subject: percpu: reorganize include/linux/percpu-defs.h X-Git-Tag: omap-for-v3.17/fixes-against-rc2~191^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8ed91d6463f48ab180f5ebedc9663eddfa0587;p=pandora-kernel.git percpu: reorganize include/linux/percpu-defs.h Reorganize for better readability. * Accessor definitions are collected into one place and SMP and UP now define them in the same order. * Definitions are layered when possible - e.g. per_cpu() is now defined in terms of this_cpu_ptr(). * Rather pointless comment dropped. * per_cpu(), __raw_get_cpu_var() and __get_cpu_var() are defined in a way which can be shared between SMP and UP and moved out of CONFIG_SMP blocks. This patch doesn't introduce any functional difference. Signed-off-by: Tejun Heo Cc: Christoph Lameter --- Reading git-diff-tree failed