- Rename KiCheckForKernelApcDelivery
Modified: trunk/reactos/ntoskrnl/include/internal/ke.h
Modified: trunk/reactos/ntoskrnl/ke/apc.c
Modified: trunk/reactos/ntoskrnl/ke/gmutex.c
Modified: trunk/reactos/ntoskrnl/ntoskrnl.def

Modified: trunk/reactos/ntoskrnl/include/internal/ke.h
--- trunk/reactos/ntoskrnl/include/internal/ke.h	2005-11-03 14:38:29 UTC (rev 18976)
+++ trunk/reactos/ntoskrnl/include/internal/ke.h	2005-11-03 16:58:43 UTC (rev 18977)
@@ -58,7 +58,7 @@
         if (!IsListEmpty(&_Thread->ApcState.ApcListHead[KernelMode]) && \
             (_Thread->SpecialApcDisable == 0)) \
         { \
-            KiKernelApcDeliveryCheck(); \
+            KiCheckForKernelApcDelivery(); \
         } \
     } \
 }
@@ -413,7 +413,7 @@
 
 VOID
 STDCALL
-KiKernelApcDeliveryCheck(VOID);
+KiCheckForKernelApcDelivery(VOID);
 
 LONG
 STDCALL

Modified: trunk/reactos/ntoskrnl/ke/apc.c
--- trunk/reactos/ntoskrnl/ke/apc.c	2005-11-03 14:38:29 UTC (rev 18976)
+++ trunk/reactos/ntoskrnl/ke/apc.c	2005-11-03 16:58:43 UTC (rev 18977)
@@ -17,10 +17,10 @@
 /* FUNCTIONS *****************************************************************/
 
 /*++
- * KiKernelApcDeliveryCheck
+ * KiCheckForKernelApcDelivery
  * @implemented NT 5.2
  *
- *     The KiKernelApcDeliveryCheck routine is called whenever APCs have just
+ *     The KiCheckForKernelApcDelivery routine is called whenever APCs have just
  *     been re-enabled in Kernel Mode, such as after leaving a Critical or
  *     Guarded Region. It delivers APCs if the environment is right.
  *
@@ -38,7 +38,7 @@
  *--*/
 VOID
 STDCALL
-KiKernelApcDeliveryCheck(VOID)
+KiCheckForKernelApcDelivery(VOID)
 {
     /* We should only deliver at passive */
     if (KeGetCurrentIrql() == PASSIVE_LEVEL)
@@ -127,7 +127,7 @@
             (Thread->SpecialApcDisable == 0))
         {
             /* Check for the right environment */
-            KiKernelApcDeliveryCheck();
+            KiCheckForKernelApcDelivery();
         }
     }
 }

Modified: trunk/reactos/ntoskrnl/ke/gmutex.c
--- trunk/reactos/ntoskrnl/ke/gmutex.c	2005-11-03 14:38:29 UTC (rev 18976)
+++ trunk/reactos/ntoskrnl/ke/gmutex.c	2005-11-03 16:58:43 UTC (rev 18977)
@@ -59,7 +59,7 @@
         if (!IsListEmpty(&Thread->ApcState.ApcListHead[KernelMode]))
         {
             /* Check for APC Delivery */
-            KiKernelApcDeliveryCheck();
+            KiCheckForKernelApcDelivery();
         }
     }
 }

Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
--- trunk/reactos/ntoskrnl/ntoskrnl.def	2005-11-03 14:38:29 UTC (rev 18976)
+++ trunk/reactos/ntoskrnl/ntoskrnl.def	2005-11-03 16:58:43 UTC (rev 18977)
@@ -653,8 +653,8 @@
 @KiAcquireSpinLock@4
 ;KiBugCheckData DATA
 KiCoprocessorError@0
+KiCheckForKernelApcDelivery@0
 KiDeliverApc@12
-KiKernelApcDeliveryCheck@0
 KiDispatchInterrupt@0
 KiEnableTimerWatchdog
 KiInterruptDispatch2@8