From: Dave Hansen <dave@sr71.net>
To: linux-kernel@vger.kernel.org
Cc: Dave Hansen <dave@sr71.net>,
dave.hansen@linux.intel.com, linux-arch@vger.kernel.org,
x86@kernel.org, tglx@linutronix.de
Subject: [PATCH] remove asm-generic arch_bprm_mm_init()
Date: Sat, 22 Nov 2014 08:37:11 -0800 [thread overview]
Message-ID: <20141122163711.0F037EE6@viggo.jf.intel.com> (raw)
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 */
_
next reply other threads:[~2014-11-22 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 16:37 Dave Hansen [this message]
2014-11-22 20:54 ` [tip:x86/mpx] asm-generic: Remove asm-generic arch_bprm_mm_init() tip-bot for Dave Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141122163711.0F037EE6@viggo.jf.intel.com \
--to=dave@sr71.net \
--cc=dave.hansen@linux.intel.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox