[FASTFAT]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 10 Sep 2015 21:35:15 +0000 (21:35 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 10 Sep 2015 21:35:15 +0000 (21:35 +0000)
Move VfatInitFastIoRoutines to the INIT section

svn path=/trunk/; revision=69175

reactos/drivers/filesystems/fastfat/fastio.c

index 8b4d2b1..a1e5fe2 100644 (file)
 #define NDEBUG
 #include <debug.h>
 
+#if defined(ALLOC_PRAGMA)
+#pragma alloc_text(INIT, VfatInitFastIoRoutines)
+#endif
+
 static FAST_IO_CHECK_IF_POSSIBLE VfatFastIoCheckIfPossible;
 
 static
@@ -779,6 +783,7 @@ VfatReleaseFromReadAhead(
     ExReleaseResourceLite(&(Fcb->MainResource));
 }
 
+INIT_SECTION
 VOID
 VfatInitFastIoRoutines(
     PFAST_IO_DISPATCH FastIoDispatch)