Revert r361077 to recommit with proper message.
This commit is contained in:
parent
e00594d962
commit
6820cbed71
@ -238,9 +238,8 @@ sysctl_hw_pagesizes(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
if (req->flags & SCTL_MASK32) {
|
||||
/*
|
||||
* Recreate the "pagesizes" array with 32-bit elements.
|
||||
* Truncate any page size greater than UINT32_MAX to zero,
|
||||
* which assumes that page sizes are powers of two.
|
||||
* Recreate the "pagesizes" array with 32-bit elements. Truncate
|
||||
* any page size greater than UINT32_MAX to zero.
|
||||
*/
|
||||
for (i = 0; i < MAXPAGESIZES; i++)
|
||||
pagesizes32[i] = (uint32_t)pagesizes[i];
|
||||
|
Loading…
Reference in New Issue
Block a user