From 2cc25cf1b22f36c00c774c3abff94b4ba5dcf26c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 May 2021 17:33:24 +0200 Subject: score: Add and use _Per_CPU_Is_ISR_in_progress() Add _Per_CPU_Is_ISR_in_progress() as an optimized version of _ISR_Is_in_progress(). --- cpukit/include/rtems/score/isr.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'cpukit/include/rtems/score/isr.h') diff --git a/cpukit/include/rtems/score/isr.h b/cpukit/include/rtems/score/isr.h index 3c6a9f1e2c..47c24f3a72 100644 --- a/cpukit/include/rtems/score/isr.h +++ b/cpukit/include/rtems/score/isr.h @@ -147,18 +147,6 @@ void _ISR_Handler_initialization ( void ); */ void _ISR_Handler( void ); -/** - * @brief Checks if an ISR in progress. - * - * This function returns true if the processor is currently servicing - * and interrupt and false otherwise. A return value of true indicates - * that the caller is an interrupt service routine, NOT a thread. - * - * @retval true Returns true when called from an ISR. - * @retval false Returns false when not called from an ISR. - */ -bool _ISR_Is_in_progress( void ); - #ifdef __cplusplus } #endif -- cgit v1.2.3