From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753764AbcFOVaF (ORCPT ); Wed, 15 Jun 2016 17:30:05 -0400 Received: from mail.kernel.org ([198.145.29.136]:37138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753361AbcFOVaD (ORCPT ); Wed, 15 Jun 2016 17:30:03 -0400 Date: Wed, 15 Jun 2016 18:29:58 -0300 From: Arnaldo Carvalho de Melo To: Yury Norov Cc: Madhavan Srinivasan , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Adrian Hunter , Borislav Petkov , David Ahern , George Spelvin , Jiri Olsa , Namhyung Kim , Rasmus Villemoes , Wang Nan , Yury Norov , Michael Ellerman Subject: Re: [PATCH] tools/perf: fix the word selected in find_*_bit Message-ID: <20160615212958.GC4882@kernel.org> References: <1465990973-31483-1-git-send-email-maddy@linux.vnet.ibm.com> <20160615195127.GA6039@yury-N73SV> <20160615211104.GA6978@yury-N73SV> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160615211104.GA6978@yury-N73SV> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jun 16, 2016 at 12:11:04AM +0300, Yury Norov escreveu: > On Wed, Jun 15, 2016 at 10:51:27PM +0300, Yury Norov wrote: > > 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