[folded-merged] support-resetting-warn_once-for-all-architectures-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxxxxxxx are

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

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux