From: Anton Blanchard Date: Tue, 2 Feb 2010 22:46:10 +0000 (-0800) Subject: percpu_counter: Make __percpu_counter_add an inline function on UP X-Git-Tag: v2.6.34-rc1~260^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9cf2efd74dbc90354e2ccc7dbd6bad68ec6c4d;p=pandora-kernel.git percpu_counter: Make __percpu_counter_add an inline function on UP Even though batch isn't used on UP, we may want to pass one in to keep the SMP and UP code paths similar. Convert __percpu_counter_add to an inline function so we wont get variable unused warnings if we do. Signed-off-by: Anton Blanchard Cc: KOSAKI Motohiro Cc: Peter Zijlstra Cc: Martin Schwidefsky Cc: "Luck, Tony" Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed