diff options
author | 2009-12-30 14:23:40 +0800 | |
---|---|---|
committer | 2009-12-30 07:50:49 +0100 | |
commit | e6d9491bf8ba6728cc86aeabbc688d20ec0563b5 (patch) | |
tree | 1ca34f9f0608f688069da43688b2a9b8fa163644 /drivers/platform/x86/hp-wmi.c | |
parent | ksym_tracer: Fix to allow writing newline to ksym_trace_filter (diff) | |
download | linux-dev-e6d9491bf8ba6728cc86aeabbc688d20ec0563b5.tar.xz linux-dev-e6d9491bf8ba6728cc86aeabbc688d20ec0563b5.zip |
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 <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B3AF1EC.9010608@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
0 files changed, 0 insertions, 0 deletions