[PATCH] remove asm-generic arch_bprm_mm_init()

From: Dave Hansen
Date: Sat Nov 22 2014 - 11:37:40 EST



From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

This is a follow-on to commit:

https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=x86/mpx&id=62e88b1c00de9cb30d937841ed5debed871070b8

I removed the asm-generic version of arch_unmap() in that patch,
but missed arch_bprm_mm_init(). So this broke the build for
architectures using asm-generic/mmu_context.h who actually have
an MMU.

This has been cross compiled for:
s390
arm
cris
microblaze

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: linux-arch@xxxxxxxxxxxxxxx
Cc: x86@xxxxxxxxxx
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---

b/include/asm-generic/mmu_context.h | 5 -----
1 file changed, 5 deletions(-)

diff -puN include/asm-generic/mmu_context.h~remove-generic-arch_bprm_mm_init include/asm-generic/mmu_context.h
--- a/include/asm-generic/mmu_context.h~remove-generic-arch_bprm_mm_init 2014-11-20 14:39:38.191036388 -0800
+++ b/include/asm-generic/mmu_context.h 2014-11-20 14:39:38.194036524 -0800
@@ -42,9 +42,4 @@ static inline void activate_mm(struct mm
{
}

-static inline void arch_bprm_mm_init(struct mm_struct *mm,
- struct vm_area_struct *vma)
-{
-}
-
#endif /* __ASM_GENERIC_MMU_CONTEXT_H */
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/