perf_counter: Fix atomic_set vs. atomic64_t type mismatch
authorPaul Mackerras <paulus@samba.org>
Sat, 13 Jun 2009 07:06:50 +0000 (17:06 +1000)
committerIngo Molnar <mingo@elte.hu>
Sat, 13 Jun 2009 10:58:24 +0000 (12:58 +0200)
commit87847b8f26cc7176ec9b239898dc7ce47a94e1a6
tree12742fdb5a0569b6b5f6502fabb831314a9431a2
parent971738f3669092dd247eaf89658f2685180492a0
perf_counter: Fix atomic_set vs. atomic64_t type mismatch

Using atomic_set on an atomic64_t variable gives a compiler
warning on powerpc, and won't give the desired result at runtime.
This fixes an instance of this error in the perf_counter code.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <18995.20490.979429.244883@cargo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c