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

From: Randy Dunlap
Date: Wed Sep 01 2010 - 12:58:06 EST


On Wed, 1 Sep 2010 18:50:02 +0200 Robert Richter wrote:

> On 01.09.10 12:41:32, Randy Dunlap wrote:
> > From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx>
>
> I already sent a fix to Ingo that fixes this.
>
> Will update my for-next branch as soon as it is applied in tip.

Good.

But I looked at oprofile.git and didn't see any such patch.
Did I miss it there? Can you point me to it, please?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/