Re: [PATCH 4.1 39/46] sched/preempt: Fix cond_resched_lock() and cond_resched_softirq()

From: Greg Kroah-Hartman
Date: Fri Oct 23 2015 - 19:21:42 EST


On Fri, Oct 23, 2015 at 11:14:30PM +0300, Thomas Backlund wrote:
> Den 23.10.2015 kl. 20:46, skrev Greg Kroah-Hartman:
> >4.1-stable review patch. If anyone has any objections, please let me know.
> >
> >------------------
> >
> >From: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
> >
> >commit fe32d3cd5e8eb0f82e459763374aa80797023403 upstream.
>
> This one broke drivers/xen/ build
>
>
> drivers/xen/preempt.c: In function âxen_maybe_preempt_hcallâ:
> drivers/xen/preempt.c:34:11: error: too few arguments to function
> âshould_reschedâ
> && should_resched())) {
> ^
>
>
> Needed fix is:
>
> From 0fa2f5cb2b0ecd8d56baa51f35f09aab234eb0bf Mon Sep 17 00:00:00 2001
> From: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
> Date: Wed, 15 Jul 2015 12:52:01 +0300
> Subject: [PATCH] sched/preempt, xen: Use need_resched() instead of
> should_resched()

Thanks, now queued up.

greg k-h
--
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/