From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH next&mainline] oprofile: fix build when CONFIG_PM is disabled Date: Wed, 1 Sep 2010 18:50:02 +0200 Message-ID: <20100901165002.GN22783@erda.amd.com> References: <20100901133614.2580f238.sfr@canb.auug.org.au> <20100901094132.e734ad94.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:3191 "EHLO VA3EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752626Ab0IAQvM (ORCPT ); Wed, 1 Sep 2010 12:51:12 -0400 Content-Disposition: inline In-Reply-To: <20100901094132.e734ad94.randy.dunlap@oracle.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: Stephen Rothwell , "linux-next@vger.kernel.org" , LKML , Ingo Molnar On 01.09.10 12:41:32, Randy Dunlap wrote: > From: Randy Dunlap > > Using do/while for a function-returning-a-value does not > make gcc happy, so change it to a static inline function. > (happens when CONFIG_PM is not enabled) > > arch/x86/oprofile/nmi_int.c:784: error: expected expression before 'do' > > Signed-off-by: Randy Dunlap I already sent a fix to Ingo that fixes this. Will update my for-next branch as soon as it is applied in tip. Thanks, -Robert -- Advanced Micro Devices, Inc. Operating System Research Center