All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] include-linux-mmdebugh-should-include-linux-bugh.patch removed from -mm tree
@ 2015-12-21 20:25 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-12-21 20:25 UTC (permalink / raw)
  To: james.morse, mm-commits


The patch titled
     Subject: include/linux/mmdebug.h: should include linux/bug.h
has been removed from the -mm tree.  Its filename was
     include-linux-mmdebugh-should-include-linux-bugh.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: James Morse <james.morse@arm.com>
Subject: include/linux/mmdebug.h: should include linux/bug.h

mmdebug.h uses BUILD_BUG_ON_INVALID(), assuming someone else included
linux/bug.h. Include it ourselves.

This saves build-failures such as:
arch/arm64/include/asm/pgtable.h: In function 'set_pte_at':
arch/arm64/include/asm/pgtable.h:281:3: error: implicit declaration of
function 'BUILD_BUG_ON_INVALID' [-Werror=implicit-function-declaration]
   VM_WARN_ONCE(!pte_young(pte),

Fixes: 02602a18c32d7 ("bug: completely remove code generated by disabled VM_BUG_ON()")
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/mmdebug.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/linux/mmdebug.h~include-linux-mmdebugh-should-include-linux-bugh include/linux/mmdebug.h
--- a/include/linux/mmdebug.h~include-linux-mmdebugh-should-include-linux-bugh
+++ a/include/linux/mmdebug.h
@@ -1,6 +1,7 @@
 #ifndef LINUX_MM_DEBUG_H
 #define LINUX_MM_DEBUG_H 1
 
+#include <linux/bug.h>
 #include <linux/stringify.h>
 
 struct page;
_

Patches currently in -mm which might be from james.morse@arm.com are



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

only message in thread, other threads:[~2015-12-21 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 20:25 [merged] include-linux-mmdebugh-should-include-linux-bugh.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.