You need to sign in or sign up before continuing.
  1. 31 12月, 2014 1 次提交
    • T
      nios2: Use preempt_schedule_irq · 1b0f4492
      Tobias Klauser 提交于
      Follow aa0d5326 ("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: NTobias Klauser <tklauser@distanz.ch>
      Acked-by: NLey Foon Tan <lftan@altera.com>
      1b0f4492
  2. 08 12月, 2014 1 次提交