Fix local macro for early KVA allocation.
Only crashdumpmap allocation was affected which is used for temporary mappings during panic dump. Approved by: kib (mentor)
This commit is contained in:
parent
ae48f39ecc
commit
4e6dc1dd4d
@ -1109,7 +1109,7 @@ pmap_bootstrap(vm_offset_t firstaddr)
|
||||
* mapping of pages.
|
||||
*/
|
||||
#define SYSMAP(c, p, v, n) do { \
|
||||
v = (c)pmap_preboot_reserve_pages(1); \
|
||||
v = (c)pmap_preboot_reserve_pages(n); \
|
||||
p = pt2map_entry((vm_offset_t)v); \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user