This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

small patch to kapidata.h



cyg_thread doesn't match Cyg_Thread if CYGSEM_KERNEL_SCHED_ASR_SUPPORT is enabled.

--- packages/kernel/current/include/kapidata.h	12 Dec 2001 11:56:37 -0000
+++ packages/kernel/current/include/kapidata.h	4 Mar 2002 16:16:01 -0000
@@ -288,11 +288,11 @@
 #endif
 
 #ifdef CYGSEM_KERNEL_SCHED_ASR_SUPPORT
-# define CYG_SCHEDTHREAD_ASR_MEMBER                                       \
-    volatile cyg_bool   asr_inhibit; /* If true, blocks calls to ASRs */  \
-    volatile cyg_bool   asr_pending; /* If true, this thread's ASR    */  \
-                                     /* should be called. */              \
-    CYG_SCHEDTHREAD_ASR_NONGLOBAL_MEMBER                                  \
+# define CYG_SCHEDTHREAD_ASR_MEMBER                                         \
+    volatile cyg_ucount32 asr_inhibit; /* If true, blocks calls to ASRs */  \
+    volatile cyg_bool     asr_pending; /* If true, this thread's ASR    */  \
+                                       /* should be called. */              \
+    CYG_SCHEDTHREAD_ASR_NONGLOBAL_MEMBER                                    \
     CYG_SCHEDTHREAD_ASR_DATA_NONGLOBAL_MEMBER                             
 #else
 # define CYG_SCHEDTHREAD_ASR_MEMBER

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]