[PATCH 0/2 v2] perf test: Fix endianess issue in hwmon test on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix endianess issue on s390 with union containing a
structure with bit fields. Bit field representation differs
between big endian and little endian architectures.

Thomas Richter (2):
  perf test: Fix perf test 11 hwmon endianess issue
  perf test: Hwmon align structure on boundary in union

 tools/perf/tests/hwmon_pmu.c | 16 +++++++++++-----
 tools/perf/util/hwmon_pmu.c  | 14 --------------
 tools/perf/util/hwmon_pmu.h  | 20 ++++++++++++++++++++
 3 files changed, 31 insertions(+), 19 deletions(-)

-- 
2.48.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux