summaryrefslogtreecommitdiff
path: root/kern/kernel.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-10-15 20:53:44 +0200
committerRichard Braun <rbraun@sceen.net>2012-10-15 20:53:44 +0200
commit7b3593f5a1cba8c05dc489ded3118322af38cde0 (patch)
tree6b34688b115b2b68b1b48c6bb3efd318b2244474 /kern/kernel.h
parenta287fd9833dc88ae6a36df2c7bd297c94c701cfc (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