• Frederic Weisbecker's avatar
    sched: Consolidate open coded preemptible() checks · fbb00b56
    Frederic Weisbecker authored
    preempt_schedule() and preempt_schedule_context() open
    code their preemptability checks.
    
    Use the standard API instead for consolidation.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Li Zhong <zhong@linux.vnet.ibm.com>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Alex Shi <alex.shi@intel.com>
    Cc: Paul Turner <pjt@google.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Vincent Guittot <vincent.guittot@linaro.org>
    fbb00b56
context_tracking.c 5.39 KB