mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[XDK]
Improve BYTES_TO_PAGES macro svn path=/branches/header-work/; revision=46360
This commit is contained in:
parent
6fae56fbbb
commit
6f88dd3240
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ $if (_WDMDDK_)
|
|||
* IN ULONG Size)
|
||||
*/
|
||||
#define BYTES_TO_PAGES(Size) \
|
||||
(((Size) >> PAGE_SHIFT) + (((Size) & (PAGE_SIZE - 1)) != 0))
|
||||
(((Size) + PAGE_SIZE - 1) >> PAGE_SHIFT)
|
||||
|
||||
/* PVOID
|
||||
* PAGE_ALIGN(
|
||||
|
|
Loading…
Reference in a new issue