From: "Jan Beulich" Subject: Re: [PATCH 2/2] Minor fix for rdmsrl Date: Thu, 28 Feb 2013 08:26:10 +0000 Message-ID: <512F22B202000078000C1CC6@nat28.tlf.novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jinsong Liu Cc: Yongjie Ren , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 27.02.13 at 17:46, "Liu, Jinsong" wrote: > Minor fix for rdmsrl > > Signed-off-by: Liu Jinsong I applied this one, but could you clarify whether the stray semicolon caused any actual problem? I'm mainly asking to determine whether this needs backporting. Jan > --- a/xen/include/asm-x86/msr.h Thu Feb 28 08:05:15 2013 +0800 > +++ b/xen/include/asm-x86/msr.h Thu Feb 28 08:15:17 2013 +0800 > @@ -20,7 +20,7 @@ > : "=a" (a__), "=d" (b__) \ > : "c" (msr)); \ > val = a__ | ((u64)b__<<32); \ > -} while(0); > +} while(0) > > #define wrmsr(msr,val1,val2) \ > __asm__ __volatile__("wrmsr" \