Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933309AbZIDJZU (ORCPT ); Fri, 4 Sep 2009 05:25:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933178AbZIDJZT (ORCPT ); Fri, 4 Sep 2009 05:25:19 -0400 Received: from viefep20-int.chello.at ([62.179.121.40]:56213 "EHLO viefep20-int.chello.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933269AbZIDJZS (ORCPT ); Fri, 4 Sep 2009 05:25:18 -0400 X-SourceIP: 213.93.53.227 Subject: Re: [RFC][PATCH 10/14] x86: generic aperf/mperf code. From: Peter Zijlstra To: Thomas Renninger Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Gautham R Shenoy , Andreas Herrmann , Balbir Singh , "H. Peter Anvin" , Venkatesh Pallipadi , Yanmin , Dave Jones , Len Brown , Yinghai Lu , cpufreq@vger.kernel.org In-Reply-To: <200909041119.06979.trenn@suse.de> References: <20090903132145.482814810@chello.nl> <20090903132213.006719409@chello.nl> <200909041119.06979.trenn@suse.de> Content-Type: text/plain Date: Fri, 04 Sep 2009 11:25:11 +0200 Message-Id: <1252056311.7564.3.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 25 On Fri, 2009-09-04 at 11:19 +0200, Thomas Renninger wrote: > You still use struct perf_pair split/hi/lo members in #ifdef __i386__ > case which you deleted above. > > shift_count = fls(h); > > > > - cur.aperf.whole >>= shift_count; > > - cur.mperf.whole >>= shift_count; > > + cur.aperf >>= shift_count; > > + cur.mperf >>= shift_count; > > } > > > > if (((unsigned long)(-1) / 100) < cur.aperf.split.lo) { > Same here, possibly still elsewhere. > Is this only x86_64 compile tested? Of course, who still has 32bit only hardware anyway ;-) Will fix, thanks for spotting that. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/