summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-09-02 01:28:44 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-10-06 11:07:54 -0700
commit84778472e1b6a27a8931712c40e8cf31143c8f6c (patch)
treeff8eef8be4623eb4ccd946b0666bd0edefd9c430 /kernel/rcu
parent19a5ecde086a6a5287978b12ae948fa691b197b7 (diff)
downloadlinux-84778472e1b6a27a8931712c40e8cf31143c8f6c.tar.gz
linux-84778472e1b6a27a8931712c40e8cf31143c8f6c.tar.bz2
linux-84778472e1b6a27a8931712c40e8cf31143c8f6c.zip
sched: Export sched_setscheduler_nocheck
The new locktorture rtmutex_lock tests exercise priority boosting, which means that they need to set some tasks to real-time priority. To do this, they use sched_setscheduler_nocheck(). However, this is not exported to modules, which results in the following error when building locktorture as a module: ERROR: "sched_setscheduler_nocheck" [kernel/locking/locktorture.ko] undefined! This commit therefore adds an EXPORT_SYMBOL_GPL() to allow this function to be invoked from locktorture when built as a module. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions