[PATCH 1/6] powerpc/perf: Define big-endian version of perf_mem_data_src

2017-03-05 Thread Madhavan Srinivasan
perf_mem_data_src is an union that is initialized via the ->val field and accessed via the bitmap fields. For this to work on big endian platforms, we also need a big-endian represenation of perf_mem_data_src. Signed-off-by: Madhavan Srinivasan Cc: Peter Zijlstra

[PATCH 1/6] powerpc/perf: Define big-endian version of perf_mem_data_src

2017-03-05 Thread Madhavan Srinivasan
perf_mem_data_src is an union that is initialized via the ->val field and accessed via the bitmap fields. For this to work on big endian platforms, we also need a big-endian represenation of perf_mem_data_src. Signed-off-by: Madhavan Srinivasan Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo