summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-21 12:09:35 +0100
committerIngo Molnar <mingo@elte.hu>2012-03-01 10:28:03 +0100
commitc5491ea779793f977d282754db478157cc409d82 (patch)
treec110f80101e9e513f5a6f1d2ba81b2934c2408f6 /init/main.c
parent7abc63b1bd412f7655b62ef3e35c3c11c5134636 (diff)
downloadlinux-c5491ea779793f977d282754db478157cc409d82.tar.gz
linux-c5491ea779793f977d282754db478157cc409d82.tar.bz2
linux-c5491ea779793f977d282754db478157cc409d82.zip
sched/rt: Add schedule_preempt_disabled()
Add helper to get rid of the ever repeating: preempt_enable_no_resched(); schedule(); preempt_disable(); patterns. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-wxx7btox7coby6ifv5vzhzgp@git.kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions