[CMAKE]
[reactos.git] / ntoskrnl / po / poshtdwn.c
index dd5113e..919ffd4 100644 (file)
@@ -9,6 +9,9 @@
 /* INCLUDES ******************************************************************/
 
 #include <ntoskrnl.h>
+#ifdef NEWCC
+#include "../cache/newcc.h"
+#endif
 #define NDEBUG
 #include <debug.h>
 
@@ -154,6 +157,10 @@ PopGracefulShutdown(IN PVOID Context)
     IoShutdownSystem(1);
     CcWaitForCurrentLazyWriterActivity();
 
+#ifdef NEWCC
+       CcShutdownSystem();
+#endif
+
     /* Note that here, we should broadcast the power IRP to devices */
 
     /* In this step, the HAL disables any wake timers */