lkml.org 
[lkml]   [2018]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch 3/3] x
Bah, scratch that. That's a different story and I missed to remove that
patch from the quilt series.....

On Thu, 22 Feb 2018, Thomas Gleixner wrote:

> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> kernel/irq/manage.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> --- a/kernel/irq/manage.c
> +++ b/kernel/irq/manage.c
> @@ -855,10 +855,14 @@ irq_thread_check_affinity(struct irq_des
> * This code is triggered unconditionally. Check the affinity
> * mask pointer. For CPU_MASK_OFFSTACK=n this is optimized out.
> */
> - if (cpumask_available(desc->irq_common_data.affinity))
> - cpumask_copy(mask, desc->irq_common_data.affinity);
> - else
> + if (cpumask_available(desc->irq_common_data.affinity)) {
> + const struct cpumask *m;
> +
> + m = irq_data_get_effective_affinity_mask(&desc->irq_data);
> + cpumask_copy(mask, m);
> + } else {
> valid = false;
> + }
> raw_spin_unlock_irq(&desc->lock);
>
> if (valid)
>
>
>

\
 
 \ /
  Last update: 2018-02-22 12:30    [W:0.581 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site