perf_counter: Complete counter swap
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 26 Jun 2009 11:10:23 +0000 (13:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Jun 2009 15:48:54 +0000 (17:48 +0200)
commit19d2e755436054dfc2be640bffc32e427c37ac3d
treef53c2e93820d1ca6d04e8b42c7bca08af01c9b44
parentf55c555226b1010b249730ec6b232e5470286950
perf_counter: Complete counter swap

Complete the counter swap by indeed switching the times too and
updating the userpage after modifying the counter values.

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