From: Peter Zijlstra Date: Fri, 22 Jan 2010 14:25:59 +0000 (+0100) Subject: perf_event: x86: Clean up some of the u64/long bitmask casting X-Git-Tag: v2.6.34-rc1~197^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c91e0f5da81c6f3a611a1bd6d0cca6717c90fdab;p=pandora-kernel.git 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 Cc: Stephane Eranian LKML-Reference: <20100122155535.595961269@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed