From b9648c396b1fae393e6a20c7ddd3debee89b5cb9 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 10 Mar 2009 23:52:46 +0000 Subject: 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 --- nuttx/sched/sched_setparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/sched/sched_setparam.c') 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; } -- cgit v1.2.3