From: Keir Fraser Subject: Re: [PATCH][SVM] 32bit msr support/enable 64bit vlapic Date: Thu, 2 Mar 2006 08:28:27 +0000 Message-ID: <1e720f7674175580cea958a13b877bac@cl.cam.ac.uk> References: <20060302011031.GA4721@vino.zko.hp.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060302011031.GA4721@vino.zko.hp.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Aron Griffis Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2 Mar 2006, at 01:10, Aron Griffis wrote: >> +#ifdef __x86_64__ >> HVM_DBG_LOG(DBG_LEVEL_2, "mode_do_msr_read: msr_content: %lx\n", >> msr_content); >> +#else >> + HVM_DBG_LOG(DBG_LEVEL_2, "mode_do_msr_read: msr_content: %llx\n", >> + msr_content); >> +#endif > > Could these simply use %llx and get rid of the #ifdef? %llx is 64-bit > on x86 and x86_64 Should be PRIu64. I can make that simple cleanup... -- Keir