- COMPUTE_PAGES_SPANNED is deprecated, use ADDRESS_AND_SIZE_TO_SPAN_PAGES instead
authorStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 8 Jan 2009 19:27:09 +0000 (19:27 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 8 Jan 2009 19:27:09 +0000 (19:27 +0000)
svn path=/trunk/; revision=38650

reactos/ntoskrnl/fsrtl/fastio.c

index 6b2da62..76f5ff8 100644 (file)
@@ -74,7 +74,7 @@ FsRtlCopyRead(IN PFILE_OBJECT FileObject,
     PFAST_IO_DISPATCH FastIoDispatch;\r
     PDEVICE_OBJECT Device;\r
     BOOLEAN Result = TRUE;\r
-       ULONG PageCount = COMPUTE_PAGES_SPANNED(FileOffset,Length);\r
+       ULONG PageCount = ADDRESS_AND_SIZE_TO_SPAN_PAGES(FileOffset,Length);\r
 \r
        PAGED_CODE();\r
     ASSERT(FileObject);\r