summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_setparam.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-10 23:52:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-10 23:52:46 +0000
commitb9648c396b1fae393e6a20c7ddd3debee89b5cb9 (patch)
treefb1a246ed2b1312e0abcd32f2f7447bdc1815573 /nuttx/sched/sched_setparam.c
parent29bc7ab1359bd069c7a4909ed8694177d9482542 (diff)
downloadpx4-nuttx-b9648c396b1fae393e6a20c7ddd3debee89b5cb9.tar.gz
px4-nuttx-b9648c396b1fae393e6a20c7ddd3debee89b5cb9.tar.bz2
px4-nuttx-b9648c396b1fae393e6a20c7ddd3debee89b5cb9.zip
Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1591 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_setparam.c')
-rw-r--r--nuttx/sched/sched_setparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c
index b08611169..2b0f804a6 100644
--- a/nuttx/sched/sched_setparam.c
+++ b/nuttx/sched/sched_setparam.c
@@ -147,7 +147,7 @@ int sched_setparam(pid_t pid, const struct sched_param *param)
/* Then perform the reprioritization */
- ret = sched_settcbprio(tcb, param->sched_priority);
+ ret = sched_reprioritize(tcb, param->sched_priority);
sched_unlock();
return ret;
}