From 79aaec868158729e4ad6e820f7e36d1e86ed4ffc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Sep 1995 17:47:06 +0000 Subject: Fixed problem in fast_idle_switch_hook --- c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3