diff for duplicates of <20040701004746.70f8440a.davem@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 3e95f00..f097db0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,7 @@ It makes your test_prot program do the following on my UltraSPARC-III machine. Requested PROT | --- R-- -W- RW- --X R-X -WX RWX -==================================== +======================================================================== MAP_SHARED | --- r-- !w- rw- r-x r-x rwx rwx MAP_PRIVATE | --- r-- !w- rw- r-x r-x rwx rwx @@ -113,7 +113,7 @@ diff -Nru a/arch/sparc64/mm/fault.c b/arch/sparc64/mm/fault.c - if (!(fault_code & FAULT_CODE_WRITE) && + if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) && - (insn & 0xc0800000) = 0xc0800000) { + (insn & 0xc0800000) == 0xc0800000) { if (insn & 0x2000) asi = (regs->tstate >> 24); @@ -408,6 +408,16 @@ @@ -211,7 +211,7 @@ diff -Nru a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h +#define _PAGE_WRITE _AC(0x0000000000000100,UL) /* Writable SW Bit */ +#define _PAGE_PRESENT _AC(0x0000000000000080,UL) /* Present */ - #if PAGE_SHIFT = 13 + #if PAGE_SHIFT == 13 #define _PAGE_SZBITS _PAGE_SZ8K @@ -164,16 +180,27 @@ diff --git a/a/content_digest b/N1/content_digest index 6c3b034..6ea9fcf 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020040630225220.GA32560@mail.shareable.org\0" "From\0David S. Miller <davem@redhat.com>\0" "Subject\0Re: A question about PROT_NONE on Sparc and Sparc64\0" - "Date\0Thu, 01 Jul 2004 07:47:46 +0000\0" + "Date\0Thu, 1 Jul 2004 00:47:46 -0700\0" "To\0Jamie Lokier <jamie@shareable.org>\0" "Cc\0jakub@redhat.com" wesolows@foobazco.org @@ -32,7 +32,7 @@ "machine.\n" "\n" "Requested PROT | --- R-- -W- RW- --X R-X -WX RWX\n" - "====================================\n" + "========================================================================\n" "MAP_SHARED | --- r-- !w- rw- r-x r-x rwx rwx\n" "MAP_PRIVATE | --- r-- !w- rw- r-x r-x rwx rwx\n" "\n" @@ -128,7 +128,7 @@ " \n" "-\tif (!(fault_code & FAULT_CODE_WRITE) &&\n" "+\tif (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) &&\n" - " \t (insn & 0xc0800000) = 0xc0800000) {\n" + " \t (insn & 0xc0800000) == 0xc0800000) {\n" " \t\tif (insn & 0x2000)\n" " \t\t\tasi = (regs->tstate >> 24);\n" "@@ -408,6 +408,16 @@\n" @@ -226,7 +226,7 @@ "+#define _PAGE_WRITE\t_AC(0x0000000000000100,UL)\t/* Writable SW Bit */\n" "+#define _PAGE_PRESENT\t_AC(0x0000000000000080,UL)\t/* Present */\n" " \n" - " #if PAGE_SHIFT = 13\n" + " #if PAGE_SHIFT == 13\n" " #define _PAGE_SZBITS\t_PAGE_SZ8K\n" "@@ -164,16 +180,27 @@\n" " \n" @@ -286,4 +286,4 @@ " #define __S101\tPAGE_READONLY\n" " #define __S110\tPAGE_SHARED" -77f58ef909fdd2005b415736587123d3559afacabcab559284b843c2a4329113 +08715c28ba505caa9208accc710b39b78ce1f2d8a1576a0c55d9f5ed1c0b8eb4
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.