From 3390476f7436814914cabf12e59fb7d8e7b94a04 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 10 Mar 2009 23:52:46 +0000 Subject: [PATCH] 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 --- arch/arm/src/common/up_reprioritizertr.c | 3 --- arch/pjrc-8051/src/up_reprioritizertr.c | 3 --- arch/sh/src/common/up_reprioritizertr.c | 3 --- arch/sim/src/up_reprioritizertr.c | 3 --- arch/z16/src/common/up_reprioritizertr.c | 3 --- arch/z80/src/common/up_reprioritizertr.c | 3 --- 6 files changed, 18 deletions(-) diff --git a/arch/arm/src/common/up_reprioritizertr.c b/arch/arm/src/common/up_reprioritizertr.c index 2fb7eb631f5..41aa0d5e2da 100644 --- a/arch/arm/src/common/up_reprioritizertr.c +++ b/arch/arm/src/common/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 diff --git a/arch/pjrc-8051/src/up_reprioritizertr.c b/arch/pjrc-8051/src/up_reprioritizertr.c index eef37c16fab..7e9ddd9fd8f 100644 --- a/arch/pjrc-8051/src/up_reprioritizertr.c +++ b/arch/pjrc-8051/src/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(FAR _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 diff --git a/arch/sh/src/common/up_reprioritizertr.c b/arch/sh/src/common/up_reprioritizertr.c index 230dbfff764..be465fd0a7a 100644 --- a/arch/sh/src/common/up_reprioritizertr.c +++ b/arch/sh/src/common/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 diff --git a/arch/sim/src/up_reprioritizertr.c b/arch/sim/src/up_reprioritizertr.c index 307369bf396..8d6f436e60d 100644 --- a/arch/sim/src/up_reprioritizertr.c +++ b/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 diff --git a/arch/z16/src/common/up_reprioritizertr.c b/arch/z16/src/common/up_reprioritizertr.c index f94d30ad0a7..f8fff390bb4 100644 --- a/arch/z16/src/common/up_reprioritizertr.c +++ b/arch/z16/src/common/up_reprioritizertr.c @@ -113,9 +113,6 @@ void up_reprioritize_rtr(FAR _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 diff --git a/arch/z80/src/common/up_reprioritizertr.c b/arch/z80/src/common/up_reprioritizertr.c index 0b71e510f48..31fab37ded4 100644 --- a/arch/z80/src/common/up_reprioritizertr.c +++ b/arch/z80/src/common/up_reprioritizertr.c @@ -114,9 +114,6 @@ void up_reprioritize_rtr(FAR _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