]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Remove useless atomic_t
authorPeter Zijlstra <peterz@infradead.org>
Thu, 17 Oct 2013 13:36:19 +0000 (15:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Oct 2013 11:02:49 +0000 (12:02 +0100)
commit95ed21e3a6e82af402d0fefe2d76c3c981910c7c
tree5ffbb922c8eab879a582abd2b17335bde359634c
parenta1ee1022a191a9bd576f8d64dc2d596657616ebc
perf: Remove useless atomic_t

There's nothing atomic about atomic_set vs atomic_read; so remove the
atomic_t usage.

Also, make running_sample_length static as it really is (and should
be) local to this translation unit.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: eranian@google.com
Cc: Don Zickus <dzickus@redhat.com>
Cc: jmario@redhat.com
Cc: acme@infradead.org
Cc: dave.hansen@linux.intel.com
Link: http://lkml.kernel.org/n/tip-vw9lg588x1ic248whybjon0c@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c