From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm_get_tsc_khz: return khz, not lpj Date: Sun, 07 Dec 2008 11:41:21 +0200 Message-ID: <493B9A41.7000205@redhat.com> References: <20081205203645.GR5157@blackpad> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Glauber Costa , kvm@vger.kernel.org To: Eduardo Habkost Return-path: Received: from mx2.redhat.com ([66.187.237.31]:33028 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753006AbYLGJlZ (ORCPT ); Sun, 7 Dec 2008 04:41:25 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mB79fOOo029939 for ; Sun, 7 Dec 2008 04:41:24 -0500 In-Reply-To: <20081205203645.GR5157@blackpad> Sender: kvm-owner@vger.kernel.org List-ID: Eduardo Habkost wrote: > kvm_get_tsc_khz() currently returns the previously-calculated preset_lpj > value, but it is in loops-per-jiffy, not kHz. The current code works > correctly only when HZ=1000. > Applied, thanks. -- error compiling committee.c: too many arguments to function