* [PATCH] remove asm-generic arch_bprm_mm_init()
@ 2014-11-22 16:37 Dave Hansen
2014-11-22 20:54 ` [tip:x86/mpx] asm-generic: Remove " tip-bot for Dave Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Dave Hansen @ 2014-11-22 16:37 UTC (permalink / raw)
To: linux-kernel; +Cc: Dave Hansen, dave.hansen, linux-arch, x86, tglx
From: Dave Hansen <dave.hansen@linux.intel.com>
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@linux.intel.com>
Cc: linux-arch@vger.kernel.org
Cc: x86@kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
---
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 */
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/mpx] asm-generic: Remove asm-generic arch_bprm_mm_init()
2014-11-22 16:37 [PATCH] remove asm-generic arch_bprm_mm_init() Dave Hansen
@ 2014-11-22 20:54 ` tip-bot for Dave Hansen
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Dave Hansen @ 2014-11-22 20:54 UTC (permalink / raw)
To: linux-tip-commits; +Cc: dave, mingo, dave.hansen, linux-kernel, tglx, hpa
Commit-ID: 9f7789f845cc100dd0d94fa1aa083e3373dc03db
Gitweb: http://git.kernel.org/tip/9f7789f845cc100dd0d94fa1aa083e3373dc03db
Author: Dave Hansen <dave.hansen@linux.intel.com>
AuthorDate: Sat, 22 Nov 2014 08:37:11 -0800
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sat, 22 Nov 2014 21:52:08 +0100
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>
---
include/asm-generic/mmu_context.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/asm-generic/mmu_context.h b/include/asm-generic/mmu_context.h
index 1f2a8f9..a7eec91 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 */
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-22 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-22 16:37 [PATCH] remove asm-generic arch_bprm_mm_init() Dave Hansen
2014-11-22 20:54 ` [tip:x86/mpx] asm-generic: Remove " tip-bot for Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).