Skip to content

Commit 1c4c659

Browse files
danglin44hdeller
authored andcommitted
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 <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 0e39718 commit 1c4c659

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/parisc/kernel/entry.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
* B <-> _PAGE_DMB (memory break)
484484
*
485485
* Then incredible subtlety: The access rights are
486-
* _PAGE_GATEWAY _PAGE_EXEC _PAGE_READ
486+
* _PAGE_GATEWAY, _PAGE_EXEC and _PAGE_WRITE
487487
* See 3-14 of the parisc 2.0 manual
488488
*
489489
* Finally, _PAGE_READ goes in the top bit of PL1 (so we
@@ -493,7 +493,7 @@
493493

494494
/* PAGE_USER indicates the page can be read with user privileges,
495495
* so deposit X1|11 to PL1|PL2 (remember the upper bit of PL1
496-
* contains _PAGE_READ */
496+
* contains _PAGE_READ) */
497497
extrd,u,*= \pte,_PAGE_USER_BIT+32,1,%r0
498498
depdi 7,11,3,\prot
499499
/* If we're a gateway page, drop PL2 back to zero for promotion

0 commit comments

Comments
 (0)