Changeset 5f85c91 in mainline for generic/src/proc/scheduler.c
- Timestamp:
- 2005-11-08T12:22:35Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a140b
- Parents:
- 389f41e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/scheduler.c
r389f41e r5f85c91 62 62 { 63 63 before_thread_runs_arch(); 64 #ifdef FPU_LAZY64 #ifdef CONFIG_FPU_LAZY 65 65 if(THREAD==CPU->fpu_owner) 66 66 fpu_enable(); … … 78 78 } 79 79 80 #ifdef FPU_LAZY80 #ifdef CONFIG_FPU_LAZY 81 81 void scheduler_fpu_lazy_request(void) 82 82 { … … 135 135 136 136 if (n == 0) { 137 #ifdef __SMP__137 #ifdef CONFIG_SMP 138 138 /* 139 139 * If the load balancing thread is not running, wake it up and … … 144 144 goto loop; 145 145 } 146 #endif /* __SMP__*/146 #endif /* CONFIG_SMP */ 147 147 148 148 /* … … 413 413 if (THREAD) { 414 414 spinlock_lock(&THREAD->lock); 415 #ifndef FPU_LAZY415 #ifndef CONFIG_FPU_LAZY 416 416 fpu_context_save(&(THREAD->saved_fpu_context)); 417 417 #endif … … 463 463 464 464 465 #ifdef __SMP__465 #ifdef CONFIG_SMP 466 466 /** Load balancing thread 467 467 * … … 624 624 } 625 625 626 #endif /* __SMP__*/626 #endif /* CONFIG_SMP */
Note:
See TracChangeset
for help on using the changeset viewer.