perf_event: x86: Clean up some of the u64/long bitmask casting
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 22 Jan 2010 14:25:59 +0000 (15:25 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:37 +0000 (09:01 +0100)
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>

No differences found