commit | c91e0f5da81c6f3a611a1bd6d0cca6717c90fdab | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Jan 22 15:25:59 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 29 09:01:37 2010 +0100 |
tree | 96b681b98a33850ad436d9729d789f17f2cfd7a2 | |
parent | 81269a085669b5130058a0275aa7ba9f94abd1fa [diff] |
perf_event: x86: Clean up some of the u64/long bitmask casting We need this to be u64 for direct assigment, but the bitmask functions all work on unsigned long, leading to cast heaven, solve this by using a union. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <20100122155535.595961269@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>