perf, x86: Clean up event constraints code a bit
authorIngo Molnar <mingo@elte.hu>
Wed, 27 Jan 2010 07:39:39 +0000 (08:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:44 +0000 (09:01 +0100)
commit184f412c3341cd24fbd26604634a5800b83dbdc3
treec6e927f54a396d6affa56e84695d24ef01d107ad
parent6c9687abeb24d5b7aae7db5be070c2139ad29e29
perf, x86: Clean up event constraints code a bit

- Remove stray debug code
 - Improve ugly macros a bit
 - Remove some whitespace damage
 - (Also fix up some accumulated damage in perf_event.h)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Stephane Eranian <eranian@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
arch/x86/kernel/cpu/perf_event.c
include/linux/perf_event.h