aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 11:48:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 11:48:43 +0000
commit4245ba7659ecdaadd47b0cdd61f3255b83f87d4f (patch)
tree7ee5773a85cb36d135c2e48b2d433069e3c7d803 /os/ports
parent75a84bbeae87d1493ae2f35917a03aebe638a9aa (diff)
downloadChibiOS-4245ba7659ecdaadd47b0cdd61f3255b83f87d4f.tar.gz
ChibiOS-4245ba7659ecdaadd47b0cdd61f3255b83f87d4f.tar.bz2
ChibiOS-4245ba7659ecdaadd47b0cdd61f3255b83f87d4f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5994 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r--os/ports/GCC/ARMCMx/chcore.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore.h b/os/ports/GCC/ARMCMx/chcore.h
index 5ab33f607..36e1cfa4a 100644
--- a/os/ports/GCC/ARMCMx/chcore.h
+++ b/os/ports/GCC/ARMCMx/chcore.h
@@ -164,23 +164,6 @@ struct intctx {};
#endif /* defined(__DOXYGEN__) */
-/**
- * @brief Excludes the default @p chSchIsPreemptionRequired()implementation.
- */
-#define PORT_OPTIMIZED_ISPREEMPTIONREQUIRED
-
-#if (CH_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
-/**
- * @brief Inline-able version of this kernel function.
- */
-#define chSchIsPreemptionRequired() \
- (currp->p_preempt ? firstprio(&rlist.r_queue) > currp->p_prio : \
- firstprio(&rlist.r_queue) >= currp->p_prio)
-#else /* CH_TIME_QUANTUM == 0 */
-#define chSchIsPreemptionRequired() \
- (firstprio(&rlist.r_queue) > currp->p_prio)
-#endif /* CH_TIME_QUANTUM == 0 */
-
#endif /* _FROM_ASM_ */
#endif /* _CHCORE_H_ */