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>
Loading
Please sign in to comment