summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-21 17:47:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-21 17:47:06 +0000
commit79aaec868158729e4ad6e820f7e36d1e86ed4ffc (patch)
tree2fafc5ee0da4f30ebce39fdfbb6c24ca5c16b18f
parentmoving files around (diff)
downloadrtems-79aaec868158729e4ad6e820f7e36d1e86ed4ffc.tar.bz2
Fixed problem in fast_idle_switch_hook
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
index 19a4e75568..b84a8f2a64 100644
--- a/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
@@ -88,7 +88,7 @@ fast_idle_switch_hook(rtems_tcb *current_task,
if (heir_task == _Internal_threads_Idle_thread)
CPU_HPPA_CLICKS_PER_TICK = fast_clock;
- else if (heir_task == _Internal_threads_Idle_thread)
+ else if (current_task == _Internal_threads_Idle_thread)
CPU_HPPA_CLICKS_PER_TICK = normal_clock;
}