perf, x86: Consolidate some code repetition
authorPeter Zijlstra <peterz@infradead.org>
Thu, 8 Apr 2010 21:03:20 +0000 (23:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 May 2010 09:31:02 +0000 (11:31 +0200)
commit2b0b5c6fe9b383f3cf35a0a6371c9d577bd523ff
tree673509da6a079615cb021eb5772edc472cbfd694
parent1e9a6d8d44cb6dcd2799b36ceb23007e6a423bfe
perf, x86: Consolidate some code repetition

Remove some duplicated logic.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel_ds.c