diff for duplicates of <20170619074801.18fa2a16@mschwideX1> diff --git a/a/1.txt b/N1/1.txt index 2a4be1a..663fb8d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -49,43 +49,3 @@ argument to pmdp_establish analog to pmdp_invalidate? The s390 patch would then look like this: -- -From 4d4641249d5e826c21c522d149553e89d73fcd4f Mon Sep 17 00:00:00 2001 -From: Martin Schwidefsky <schwidefsky@de.ibm.com> -Date: Mon, 19 Jun 2017 07:40:11 +0200 -Subject: [PATCH] s390/mm: add pmdp_establish - -Define the pmdp_establish function to replace a pmd entry with a new -one and return the old value. - -Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> ---- - arch/s390/include/asm/pgtable.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h -index bb59a0aa3249..dedeecd5455c 100644 ---- a/arch/s390/include/asm/pgtable.h -+++ b/arch/s390/include/asm/pgtable.h -@@ -1511,6 +1511,13 @@ static inline void pmdp_invalidate(struct vm_area_struct *vma, - pmdp_xchg_direct(vma->vm_mm, addr, pmdp, __pmd(_SEGMENT_ENTRY_EMPTY)); - } - -+static inline pmd_t pmdp_establish(struct vm_area_struct *vma, -+ pmd_t *pmdp, pmd_t pmd) -+{ -+ return pmdp_xchg_direct(vma->vm_mm, addr, pmdp, pmd); -+} -+#define pmdp_establish pmdp_establish -+ - #define __HAVE_ARCH_PMDP_SET_WRPROTECT - static inline void pmdp_set_wrprotect(struct mm_struct *mm, - unsigned long addr, pmd_t *pmdp) --- -2.11.2 - - --- -blue skies, - Martin. - -"Reality continues to ruin my life." - Calvin. diff --git a/a/content_digest b/N1/content_digest index 38954fb..29cd8a3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -73,46 +73,6 @@ "argument to pmdp_establish analog to pmdp_invalidate?\n" "\n" "The s390 patch would then look like this:\n" - "--\n" - "From 4d4641249d5e826c21c522d149553e89d73fcd4f Mon Sep 17 00:00:00 2001\n" - "From: Martin Schwidefsky <schwidefsky@de.ibm.com>\n" - "Date: Mon, 19 Jun 2017 07:40:11 +0200\n" - "Subject: [PATCH] s390/mm: add pmdp_establish\n" - "\n" - "Define the pmdp_establish function to replace a pmd entry with a new\n" - "one and return the old value.\n" - "\n" - "Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>\n" - "---\n" - " arch/s390/include/asm/pgtable.h | 7 +++++++\n" - " 1 file changed, 7 insertions(+)\n" - "\n" - "diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h\n" - "index bb59a0aa3249..dedeecd5455c 100644\n" - "--- a/arch/s390/include/asm/pgtable.h\n" - "+++ b/arch/s390/include/asm/pgtable.h\n" - "@@ -1511,6 +1511,13 @@ static inline void pmdp_invalidate(struct vm_area_struct *vma,\n" - " \tpmdp_xchg_direct(vma->vm_mm, addr, pmdp, __pmd(_SEGMENT_ENTRY_EMPTY));\n" - " }\n" - " \n" - "+static inline pmd_t pmdp_establish(struct vm_area_struct *vma,\n" - "+\t\t\t\t pmd_t *pmdp, pmd_t pmd)\n" - "+{\n" - "+\treturn pmdp_xchg_direct(vma->vm_mm, addr, pmdp, pmd);\n" - "+}\n" - "+#define pmdp_establish pmdp_establish\n" - "+\n" - " #define __HAVE_ARCH_PMDP_SET_WRPROTECT\n" - " static inline void pmdp_set_wrprotect(struct mm_struct *mm,\n" - " \t\t\t\t unsigned long addr, pmd_t *pmdp)\n" - "-- \n" - "2.11.2\n" - "\n" - "\n" - "-- \n" - "blue skies,\n" - " Martin.\n" - "\n" - "\"Reality continues to ruin my life.\" - Calvin." + -- -2ae3899d6519151b7bf49acbd2f4b29b6f19f402d8266a06eabb2fedc5eba707 +fd3a46ff117b23709ed542e6c6bd6ac323fa968dc3d5d6f1d4380122b2638588
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox