Thread (16 messages) flat view 16 messages, 7 authors, 2016-06-16

Re: [PATCH] tools/perf: fix the word selected in find_*_bit

From: Hekuang <hidden>
Date: 2016-06-16 01:36:28
Also in: lkml


在 2016/6/16 5:29, Arnaldo Carvalho de Melo 写道:
Em Thu, Jun 16, 2016 at 12:11:04AM +0300, Yury Norov escreveu:
quoted
On Wed, Jun 15, 2016 at 10:51:27PM +0300, Yury Norov wrote:
quoted
Maybe there already is some macro doing the conversion for you...
yes it is, cpu_to_le64() is what you want
Beware that the cpu_to_le64() in tools/perf is bogus, we need to grab a
copy from the kernel sources.

- Arnaldo
[PATCH 1/2] tools include: Sync byteorder/generic.h
[PATCH 2/2] tools include: Fix wrong macro definitions for cpu_to_le* 
for big endian

Here're two patches related to this issue, sorry for wrongly sent two more
reduntant mails.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help