On Fri, 2016-26-02 at 00:26:26 UTC, Gavin Shan wrote: > The function is used to update the MMU with software PTE. It can > be called by data access exception handler (0x300) or instruction > access exception handler (0x400). If the function is called by > 0x400 handler , the local variable @access is set to _PAGE_EXEC > to indicate the software PTE should have that flag set. When the > function is called by 0x300 handler, @access is set to zero. > > This improves the readability of the function by replacing if > statements with switch. No logical changes introduced. > > Signed-off-by: Gavin Shan <gws...@linux.vnet.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f3ad731cc08cc4fd3855f25c36 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev