mtx: clean up caching of page state
authorAlan Cox <alan@linux.intel.com>
Mon, 15 Dec 2014 12:13:23 +0000 (12:13 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 15 Dec 2014 12:13:23 +0000 (12:13 +0000)
commit7f7bb451d419d7d067a3c9cdb11a2e6f531f7ec1
tree597e895a7c026982f1efbee430b2cfff7e93e7c4
parent434ff73737013e4206e438f90b4a0bc41232439a
mtx: clean up caching of page state

map_restore restored the map but not the cache of the write only port, this
then caused crashes if interrupt returns occurred during a user memory
access.

Use the helpers throughout for neatness
Kernel/platform-mtx/mtx.s
Kernel/platform-mtx/tricks.s