Subject: Re: [PATCH next&mainline] oprofile: fix build when CONFIG_PM is disabled

From: Ingo Molnar <[email-masked]>
Date: Wed, 1 Sep 2010 18:52:11 +0200

* Randy Dunlap <[email-masked]> wrote:

> From: Randy Dunlap <[email-masked]>
> 
> 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'

Yeah, i reported this to Robert a few hours ago, with the same suggested 
solution.

Thanks,

	Ingo