diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-10 23:52:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-10 23:52:46 +0000 |
commit | b9648c396b1fae393e6a20c7ddd3debee89b5cb9 (patch) | |
tree | fb1a246ed2b1312e0abcd32f2f7447bdc1815573 /nuttx/arch/sim/src/up_reprioritizertr.c | |
parent | 29bc7ab1359bd069c7a4909ed8694177d9482542 (diff) | |
download | px4-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/arch/sim/src/up_reprioritizertr.c')
-rw-r--r-- | nuttx/arch/sim/src/up_reprioritizertr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/up_reprioritizertr.c b/nuttx/arch/sim/src/up_reprioritizertr.c index 307369bf3..8d6f436e6 100644 --- a/nuttx/arch/sim/src/up_reprioritizertr.c +++ b/nuttx/arch/sim/src/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was |