]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
trunc_page() goes through unsigned long, which is too short.
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 21 Nov 2015 06:03:46 +0000 (06:03 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 21 Nov 2015 06:03:46 +0000 (06:03 +0000)
commitef596c40214424540d1446cbeb67d0e93d0369c5
tree1fb74543e08ec0017394fa3ccbe533748bf4c282
parent5101cb4efcdc497ba4c3a5e1d2203cd0a7836244
trunc_page() goes through unsigned long, which is too short.

sizeof(unsigned long) < sizeof(vm_paddr_t) on Book-E, which uses 36-bit
addressing.  With this, a CCSR with a physical address above 4GB successfully
maps.

Sponsored by: Alex Perez/Inertial Computing
sys/powerpc/booke/pmap.c