From: Tobias Klauser Date: Wed, 31 Dec 2014 02:53:11 +0000 (+0800) Subject: nios2: Use preempt_schedule_irq X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~335^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b0f44923e186b2f9383b3260f6b5fbfc77b9e4a;p=pandora-kernel.git nios2: Use preempt_schedule_irq 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 Signed-off-by: Tobias Klauser Acked-by: Ley Foon Tan --- Reading git-diff-tree failed