From: Lai Jiangshan Date: Thu, 29 Nov 2012 08:46:02 +0000 (+0800) Subject: srcu: Simplify __srcu_read_unlock() via this_cpu_dec() X-Git-Tag: v3.9-rc1~175^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a41344a3d83ef2c08e40bfce1efa5795def9b82;p=pandora-kernel.git srcu: Simplify __srcu_read_unlock() via this_cpu_dec() This commit replaces disabling of preemption and decrement of a per-CPU variable with this_cpu_dec(), which avoids preemption disabling on x86 and shortens the code on all platforms. Signed-off-by: Lai Jiangshan Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed