Re: [PATCH-RT] preempt.h: Fix implicit declaration of'preempt_check_resched_rt'

From: Clark Williams
Date: Thu Mar 08 2012 - 15:23:18 EST


On Thu, 08 Mar 2012 15:17:20 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Thu, 2012-03-08 at 21:13 +0100, John Kacur wrote:
> > When building a non-preempt kernel where CONFIG_PREEMPT_COUNT is not
> > defined the following build break occurs.
> >
> > /home/jkacur/linux-rt/block/blk-softirq.c: In function âtrigger_softirqâ:
> > /home/jkacur/linux-rt/block/blk-softirq.c:54: error: implicit declaration of function âpreempt_check_resched_rtâ
> > make[2]: *** [block/blk-softirq.o] Error 1
> > make[1]: *** [block/blk-softirq.o] Error 2
> > make: *** [sub-make] Error 2
> >
> > This patch fixes the build error by adding a define to the
> > !CONFIG_PREEMPT_COUNT section.
> >
> > Signed-off-by: Clark Williams <williams@xxxxxxxxxx>
>
> Why Clark's SOB? Did he write it and send it to you?

I suppose to be technically correct it should have been a Tested-by:

John found it while I was working on it and I tested it for him.

Clark

Attachment: signature.asc
Description: PGP signature