From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] 2.5.48 s390 (11/16): isclean bug.
Date: Mon, 18 Nov 2002 20:21:34 +0100 [thread overview]
Message-ID: <200211182021.34536.schwidefsky@de.ibm.com> (raw)
Remove the _PAGE_ISCLEAN bit in pte_mkwrite to make pte_mkwrite
work correctly even if it is not followed by a pte_mkdirty.
diff -urN linux-2.5.48/include/asm-s390/pgtable.h linux-2.5.48-s390/include/asm-s390/pgtable.h
--- linux-2.5.48/include/asm-s390/pgtable.h Mon Nov 18 05:29:52 2002
+++ linux-2.5.48-s390/include/asm-s390/pgtable.h Mon Nov 18 20:11:53 2002
@@ -320,7 +320,7 @@
extern inline pte_t pte_mkwrite(pte_t pte)
{
- pte_val(pte) &= ~_PAGE_RO;
+ pte_val(pte) &= ~(_PAGE_RO | _PAGE_ISCLEAN);
return pte;
}
diff -urN linux-2.5.48/include/asm-s390x/pgtable.h linux-2.5.48-s390/include/asm-s390x/pgtable.h
--- linux-2.5.48/include/asm-s390x/pgtable.h Mon Nov 18 05:29:32 2002
+++ linux-2.5.48-s390/include/asm-s390x/pgtable.h Mon Nov 18 20:11:53 2002
@@ -339,7 +339,7 @@
extern inline pte_t pte_mkwrite(pte_t pte)
{
- pte_val(pte) &= ~_PAGE_RO;
+ pte_val(pte) &= ~(_PAGE_RO | _PAGE_ISCLEAN);
return pte;
}
reply other threads:[~2002-11-18 19:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211182021.34536.schwidefsky@de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®