]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix ARMv6/v7 mapping's wired status.
authorRafal Jaworowski <raj@FreeBSD.org>
Mon, 19 Aug 2013 15:36:23 +0000 (15:36 +0000)
committerRafal Jaworowski <raj@FreeBSD.org>
Mon, 19 Aug 2013 15:36:23 +0000 (15:36 +0000)
commitc438c6eb7033ec7f201d97a0b2985e44db5b405c
tree14eb46f573f62c1ea406e260af65cc4295406be2
parent30f7f10e668aace494a50cb533311667efb239e8
Fix ARMv6/v7 mapping's wired status.

Last input argument in pmap_modify_pv() should be a mask of flags to be set.
In pmap_change_wiring() however, the straight wired status was used, which
does not represent valid flags (and is of type boolean).

This commit fixes the issue so that wired flag is passed to pmap_modify_pv()
properly.

Submitted by: Zbigniew Bodek <zbb@semihalf.com>
Reviewed by: gber
Sponsored by: The FreeBSD Foundation, Semihalf
sys/arm/arm/pmap-v6.c