From: Li Zefan Date: Wed, 30 Dec 2009 06:23:40 +0000 (+0800) Subject: ksym_tracer: Fix race when incrementing count X-Git-Tag: v2.6.33-rc3~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d9491bf8ba6728cc86aeabbc688d20ec0563b5;p=pandora-kernel.git ksym_tracer: Fix race when incrementing count We are under rcu read section but not holding the write lock, so count++ is not atomic. Use atomic64_t instead. Signed-off-by: Li Zefan Cc: Steven Rostedt Cc: K.Prasad Cc: Frederic Weisbecker LKML-Reference: <4B3AF1EC.9010608@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed