Re: [patch 5/6] sparc: Use preempt_schedule_irq

From: David Miller
Date: Tue Sep 17 2013 - 20:13:10 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Wed, 18 Sep 2013 01:23:58 +0200 (CEST)

> I knew that I'd get it wrong :) So is adding another nop the right
> thing to do ?
>
> bne,pn %xcc, kern_fpucheck
> - sethi %hi(PREEMPT_ACTIVE), %l6
> - stw %l6, [%g6 + TI_PRE_COUNT]
> - call schedule
> + nop
> + call preempt_schedule_irq
> nop

Yep, that's perfect:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/