From: Jiri Olsa Date: Wed, 16 May 2012 06:59:04 +0000 (+0200) Subject: perf tools: Add union u64_swap type for swapping u64 data X-Git-Tag: v3.5-rc1~120^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a11f92ef449bfb87f93e7cc14cb2a717afc7aa3;p=pandora-kernel.git perf tools: Add union u64_swap type for swapping u64 data The following union: union { u64 val64; u32 val32[2]; } u; is used on more than one place in perf code and will be used more in upcomming patches. Adding union u64_swap to have it defined globaly so we dont need to redefine it all the time. Signed-off-by: Jiri Olsa Reviewed-by: David Ahern Tested-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1337151548-2396-4-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed