diff options
author | Richard Braun <rbraun@sceen.net> | 2012-10-15 20:53:44 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-10-15 20:53:44 +0200 |
commit | 7b3593f5a1cba8c05dc489ded3118322af38cde0 (patch) | |
tree | 6b34688b115b2b68b1b48c6bb3efd318b2244474 /kern/kernel.h | |
parent | a287fd9833dc88ae6a36df2c7bd297c94c701cfc (diff) |
x86/pmap: fix pmap_growkernel
The pmap_growkernel function uses va as the last page address that must
be directly mappable. But if it's already aligned on PDP boundary, the
P2ROUND macro will return its original value. Use P2END to make sure va
really is an end address.
Diffstat (limited to 'kern/kernel.h')
0 files changed, 0 insertions, 0 deletions