This is a follow-on to commit 62e88b1c00de 'mm: Make arch_unmap()/bprm_mm_init() available to all architectures' 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.
Unified · Split
| @@ -42,9 +42,4 @@ static inline void activate_mm(struct mm_struct *prev_mm, · 41 unmodified lines | |||
| 42 | { | 42 | { |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | static inline void arch_bprm_mm_init(struct mm_struct *mm, | ||
| 46 | struct vm_area_struct *vma) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | #endif /* __ASM_GENERIC_MMU_CONTEXT_H */ | 45 | #endif /* __ASM_GENERIC_MMU_CONTEXT_H */ |