mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] support-resetting-warn_once-for-all-architectures-v2.patch removed from -mm tree
@ 2017-11-17 23:12 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-17 23:12 UTC (permalink / raw)
  To: ak, mpe, mm-commits


The patch titled
     Subject: support-resetting-warn_once-for-all-architectures-v2
has been removed from the -mm tree.  Its filename was
     support-resetting-warn_once-for-all-architectures-v2.patch

This patch was dropped because it was folded into support-resetting-warn_once-for-all-architectures.patch

------------------------------------------------------
From: Andi Kleen <ak@linux.intel.com>
Subject: support-resetting-warn_once-for-all-architectures-v2

add a missing ifdef CONFIG_MODULES. Thanks 0day!

Link: http://lkml.kernel.org/r/20171020170633.9593-1-andi@firstfloor.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/bug.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN lib/bug.c~support-resetting-warn_once-for-all-architectures-v2 lib/bug.c
--- a/lib/bug.c~support-resetting-warn_once-for-all-architectures-v2
+++ a/lib/bug.c
@@ -209,11 +209,13 @@ void generic_bug_clear_once(void)
 {
 	struct module *mod;
 
+#ifdef CONFIG_MODULES
 	rcu_read_lock_sched();
 	list_for_each_entry_rcu(mod, &module_bug_list, bug_list)
 		clear_once_table(mod->bug_table,
 				 mod->bug_table + mod->num_bugs);
 	rcu_read_unlock_sched();
+#endif
 
 	clear_once_table(__start___bug_table, __stop___bug_table);
 }
_

Patches currently in -mm which might be from ak@linux.intel.com are

support-resetting-warn_once.patch
support-resetting-warn_once-for-all-architectures.patch


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

only message in thread, other threads:[~2017-11-17 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 23:12 [folded-merged] support-resetting-warn_once-for-all-architectures-v2.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).