xtensa: mpu: make sure write to MPU regions is atomic
This adds a spinlock to make sure writing to hardware MPU regions is atomic, and cannot be interrupted until all regions are written to hardware. Signed-off-by:Daniel Leung <daniel.leung@intel.com> (cherry picked from commit 6bd0dcf9)
Loading
Please sign in to comment