perf_counter: Initialize ->oncpu properly
authorIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 06:10:00 +0000 (08:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 07:54:13 +0000 (09:54 +0200)
commit329d876d6fd326109f191ae0fb2798b8834fb70b
tree9e8a071a9c89be06a3b6dd526ec42f08eca16ae3
parentaaba98018b8295dfa2119345d17f833d74448cd0
perf_counter: Initialize ->oncpu properly

This shouldnt matter normally (and i have not seen any
misbehavior), because active counters always have a
proper ->oncpu value - but nevertheless initialize the
field properly to -1.

[ Impact: cleanup ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c