linux_dsm_epyc7002/arch/nios2
Tobias Klauser 1b0f44923e nios2: Use preempt_schedule_irq
Follow aa0d532605 ("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@linutronix.de>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
2014-12-31 11:04:58 +08:00
..
boot nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
configs nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
include nios2/uaccess: fix sparse errors 2014-12-17 13:53:41 +08:00
kernel nios2: Use preempt_schedule_irq 2014-12-31 11:04:58 +08:00
lib nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
mm nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
platform nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Kconfig nios2: Make NIOS2_CMDLINE_IGNORE_DTB depend on CMDLINE_BOOL 2014-12-08 12:56:14 +08:00
Kconfig.debug nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Makefile nios2: enable "make defconfig" 2014-12-17 13:37:09 +08:00