From: John David Anglin Date: Sun, 13 Jan 2013 22:04:18 +0000 (+0000) Subject: parisc: Fix comment describing setup of access rights in entry.S X-Git-Tag: v5.15~20673^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c4c6597b67f9986a09b34deb337a8b14f4adf3a;p=platform%2Fkernel%2Flinux-starfive.git parisc: Fix comment describing setup of access rights in entry.S This comment describes incredibly subtle code, so it should be right! Signed-off-by: John David Anglin Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index eb7850b..7c96489 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S @@ -483,7 +483,7 @@ * B <-> _PAGE_DMB (memory break) * * Then incredible subtlety: The access rights are - * _PAGE_GATEWAY _PAGE_EXEC _PAGE_READ + * _PAGE_GATEWAY, _PAGE_EXEC and _PAGE_WRITE * See 3-14 of the parisc 2.0 manual * * Finally, _PAGE_READ goes in the top bit of PL1 (so we @@ -493,7 +493,7 @@ /* PAGE_USER indicates the page can be read with user privileges, * so deposit X1|11 to PL1|PL2 (remember the upper bit of PL1 - * contains _PAGE_READ */ + * contains _PAGE_READ) */ extrd,u,*= \pte,_PAGE_USER_BIT+32,1,%r0 depdi 7,11,3,\prot /* If we're a gateway page, drop PL2 back to zero for promotion