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

Robert Richter
2010-09-01T16:51:14Z

On 01.09.10 12:41:32, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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 <randy.dunlap@oracle.com>

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