summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-11-22 08:37:11 -0800
committerThomas Gleixner <tglx@linutronix.de>2014-11-22 21:52:08 +0100
commit9f7789f845cc100dd0d94fa1aa083e3373dc03db (patch)
tree31f69b13f1d8ab2ca1a29d426345d17d01777bc4 /include/asm-generic
parent62e88b1c00de9cb30d937841ed5debed871070b8 (diff)
downloadtalos-obmc-linux-9f7789f845cc100dd0d94fa1aa083e3373dc03db.tar.gz
talos-obmc-linux-9f7789f845cc100dd0d94fa1aa083e3373dc03db.zip
asm-generic: Remove asm-generic arch_bprm_mm_init()
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. Fixes: 62e88b1c00de 'mm: Make arch_unmap()/bprm_mm_init() available to all architectures' Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Cc: Dave Hansen <dave@sr71.net> Cc: linux-arch@vger.kernel.org Cc: x86@kernel.org Link: http://lkml.kernel.org/r/20141122163711.0F037EE6@viggo.jf.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/mmu_context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-generic/mmu_context.h b/include/asm-generic/mmu_context.h
index 1f2a8f9c9264..a7eec910ba6c 100644
--- a/include/asm-generic/mmu_context.h
+++ b/include/asm-generic/mmu_context.h
@@ -42,9 +42,4 @@ static inline void activate_mm(struct mm_struct *prev_mm,
{
}
-static inline void arch_bprm_mm_init(struct mm_struct *mm,
- struct vm_area_struct *vma)
-{
-}
-
#endif /* __ASM_GENERIC_MMU_CONTEXT_H */
OpenPOWER on IntegriCloud