diff for duplicates of <4D344EAF.1080401@petalogix.com> diff --git a/a/2.txt b/N1/2.txt index 837177e..8b13789 100644 --- a/a/2.txt +++ b/N1/2.txt @@ -1,36 +1 @@ ->From 9d09534daec636eafed279352c6b34d3b47c3a09 Mon Sep 17 00:00:00 2001 -From: Michal Simek <monstr@monstr.eu> -Date: Mon, 17 Jan 2011 15:09:36 +0100 -Subject: [PATCH] mm: System without MMU do not need pte_mkwrite -The patch "thp: export maybe_mkwrite" -(sha1 14fd403f2146f740942d78af4e0ee59396ad8eab) -break systems without MMU. - -Signed-off-by: Michal Simek <monstr@monstr.eu> ---- - include/linux/mm.h | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/include/linux/mm.h b/include/linux/mm.h -index 956a355..f6385fc 100644 ---- a/include/linux/mm.h -+++ b/include/linux/mm.h -@@ -470,6 +470,7 @@ static inline void set_compound_order(struct page *page, unsigned long order) - page[1].lru.prev = (void *)order; - } - -+#ifdef CONFIG_MMU - /* - * Do pte_mkwrite, but only if the vma says VM_WRITE. We do this when - * servicing faults for write access. In the normal case, do always want -@@ -482,6 +483,7 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) - pte = pte_mkwrite(pte); - return pte; - } -+#endif - - /* - * Multiple processes may "see" the same page. E.g. for untouched --- -1.5.5.6 diff --git a/a/content_digest b/N1/content_digest index d8e94d7..1430988 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -138,41 +138,5 @@ "\01:2\0" "fn\00001-mm-System-without-MMU-do-not-need-pte_mkwrite.patch\0" "b\0" - ">From 9d09534daec636eafed279352c6b34d3b47c3a09 Mon Sep 17 00:00:00 2001\n" - "From: Michal Simek <monstr@monstr.eu>\n" - "Date: Mon, 17 Jan 2011 15:09:36 +0100\n" - "Subject: [PATCH] mm: System without MMU do not need pte_mkwrite\n" - "\n" - "The patch \"thp: export maybe_mkwrite\"\n" - "(sha1 14fd403f2146f740942d78af4e0ee59396ad8eab)\n" - "break systems without MMU.\n" - "\n" - "Signed-off-by: Michal Simek <monstr@monstr.eu>\n" - "---\n" - " include/linux/mm.h | 2 ++\n" - " 1 files changed, 2 insertions(+), 0 deletions(-)\n" - "\n" - "diff --git a/include/linux/mm.h b/include/linux/mm.h\n" - "index 956a355..f6385fc 100644\n" - "--- a/include/linux/mm.h\n" - "+++ b/include/linux/mm.h\n" - "@@ -470,6 +470,7 @@ static inline void set_compound_order(struct page *page, unsigned long order)\n" - " \tpage[1].lru.prev = (void *)order;\n" - " }\n" - " \n" - "+#ifdef CONFIG_MMU\n" - " /*\n" - " * Do pte_mkwrite, but only if the vma says VM_WRITE. We do this when\n" - " * servicing faults for write access. In the normal case, do always want\n" - "@@ -482,6 +483,7 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)\n" - " \t\tpte = pte_mkwrite(pte);\n" - " \treturn pte;\n" - " }\n" - "+#endif\n" - " \n" - " /*\n" - " * Multiple processes may \"see\" the same page. E.g. for untouched\n" - "-- \n" - 1.5.5.6 -bf45b8ad428d6d6af48ca61755a2b4e4c4fcb4409e622fdc2eb4ee0f3fdf5b0f +ea6b7ed7580a560942cb12b4eebbde963c644f90823b26a3016c549d99f1d3d4
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.