Skip to contentSkip to conversation

userfaultfd-shmem-add-tlbflushh-header-for-microblaze.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 23, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: userfaultfd: shmem: add tlbflush.h header for microblaze
has been removed from the -mm tree. Its filename was
userfaultfd-shmem-add-tlbflushh-header-for-microblaze.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andrea Arcangeli <[email protected]>
Subject: userfaultfd: shmem: add tlbflush.h header for microblaze

It resolves this build error:

All errors (new ones prefixed by >>):

mm/shmem.c: In function 'shmem_mcopy_atomic_pte':

Quoted 1 line
Quoted 1 line

mm/shmem.c:2228:2: error: implicit declaration of function

'update_mmu_cache' [-Werror=implicit-function-declaration]

        update_mmu_cache(dst_vma, dst_addr, dst_pte);

microblaze may have to be also updated to define it in asm/pgtable.h like the other archs, then this header inclusion can be removed.

Cc "Dr. David Alan Gilbert" <[email protected]>
Cc Hillf Danton <[email protected]>
Cc Michael Rapoport <[email protected]>
Cc Mike Kravetz <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Pavel Emelyanov <[email protected]>

---

 mm/shmem.c |    2 ++
 1 file changed, 2 insertions(+)
mm/shmem.c renamed from mm/shmem.c~userfaultfd-shmem-add-tlbflushh-header-for-microblaze +2 -0
diff -puN mm/shmem.c~userfaultfd-shmem-add-tlbflushh-header-for-microblaze mm/shmem.c
@@ -34,6 +34,8 @@
 #include <linux/uio.h>
 #include <linux/khugepaged.h>
 
+#include <asm/tlbflush.h> /* for arch/microblaze update_mmu_cache() */
+
 static struct vfsmount *shm_mnt;
 
 #ifdef CONFIG_SHMEM

_

Patches currently in -mm which might be from [email protected] are

userfaultfd-mcopy_atomic-return-enoent-when-no-compatible-vma-found-fix-2.patch userfaultfd-mcopy_atomic-return-enoent-when-no-compatible-vma-found-fix-2-fix-fix.patch