mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] mm-hmm-struct-hmm-is-only-use-by-hmm-mirror-functionality-v2-fix.patch removed from -mm tree
@ 2017-09-08 22:58 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-09-08 22:58 UTC (permalink / raw)
  To: sfr, arnd, jglisse, mm-commits


The patch titled
     Subject: mm/hmm: struct hmm is only use by HMM mirror functionality v2 fix
has been removed from the -mm tree.  Its filename was
     mm-hmm-struct-hmm-is-only-use-by-hmm-mirror-functionality-v2-fix.patch

This patch was dropped because it was folded into mm-hmm-avoid-bloating-arch-that-do-not-make-use-of-hmm.patch

------------------------------------------------------
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: mm/hmm: struct hmm is only use by HMM mirror functionality v2 fix

fix build (arm multi_v7_defconfig)

Link: http://lkml.kernel.org/r/20170828181849.323ab81b@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Jérôme Glisse <jglisse@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/hmm.h |    3 +++
 1 file changed, 3 insertions(+)

diff -puN include/linux/hmm.h~mm-hmm-struct-hmm-is-only-use-by-hmm-mirror-functionality-v2-fix include/linux/hmm.h
--- a/include/linux/hmm.h~mm-hmm-struct-hmm-is-only-use-by-hmm-mirror-functionality-v2-fix
+++ a/include/linux/hmm.h
@@ -514,5 +514,8 @@ static inline void hmm_mm_init(struct mm
 #endif /* IS_ENABLED(CONFIG_HMM_MIRROR) */
 
 
+#else /* IS_ENABLED(CONFIG_HMM) */
+static inline void hmm_mm_destroy(struct mm_struct *mm) {}
+static inline void hmm_mm_init(struct mm_struct *mm) {}
 #endif /* IS_ENABLED(CONFIG_HMM) */
 #endif /* LINUX_HMM_H */
_

Patches currently in -mm which might be from sfr@canb.auug.org.au are

mm-hmm-avoid-bloating-arch-that-do-not-make-use-of-hmm.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-08 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 22:58 [folded-merged] mm-hmm-struct-hmm-is-only-use-by-hmm-mirror-functionality-v2-fix.patch removed from -mm tree akpm

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).