[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFiDJ580-jZXUUM9j9vQ3wLvQ4tsHAvC+c3Swq+Aam6FHZry2Q@mail.gmail.com>
Date: Wed, 31 Dec 2014 10:54:21 +0800
From: Ley Foon Tan <lftan@...era.com>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: "nios2-dev@...ts.rocketboards.org" <nios2-dev@...ts.rocketboards.org>,
Linux-Arch <linux-arch@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] nios2: Use preempt_schedule_irq
On Tue, Dec 30, 2014 at 10:02 PM, Tobias Klauser <tklauser@...tanz.ch> wrote:
> Follow aa0d53260596 ("ia64: Use preempt_schedule_irq") and use
> preempt_schedule_irq instead of enabling/disabling interrupts and messing around
> with PREEMPT_ACTIVE in the nios2 low-level preemption code ourselves. Also get
> rid of the now needless re-check for TIF_NEED_RESCHED, preempt_schedule_irq
> will already take care of rescheduling.
>
> This also fixes the following build error when building with CONFIG_PREEMPT:
>
> arch/nios2/kernel/built-in.o: In function `need_resched':
> arch/nios2/kernel/entry.S:374: undefined reference to `PREEMPT_ACTIVE'
>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
> ---
Acked-by: Ley Foon Tan <lftan@...era.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists