The patch titled Immediate values: global modules list and module mutex has been added to the -mm tree. Its filename is immediate-values-global-modules-list-and-module-mutex.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Immediate values: global modules list and module mutex From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> Remove "static" from module_mutex and the modules list so it can be used by other builtin objects in the kernel. Otherwise, every code depending on the module list would have to be put in kernel/module.c. Since the immediate values depends on the module list but can be considered as logically different, it makes sense to implement them in their own file. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/module.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/module.c~immediate-values-global-modules-list-and-module-mutex kernel/module.c --- a/kernel/module.c~immediate-values-global-modules-list-and-module-mutex +++ a/kernel/module.c @@ -63,8 +63,8 @@ extern int module_sysfs_initialized; /* List of modules, protected by module_mutex or preempt_disable * (add/delete uses stop_machine). */ -static DEFINE_MUTEX(module_mutex); -static LIST_HEAD(modules); +DEFINE_MUTEX(module_mutex); +LIST_HEAD(modules); static DECLARE_MUTEX(notify_mutex); static BLOCKING_NOTIFIER_HEAD(module_notify_list); _ Patches currently in -mm which might be from mathieu.desnoyers@xxxxxxxxxx are powerpc-promc-remove-undef-printk.patch i386-text-edit-lock.patch i386-text-edit-lock-alternative-instructions.patch i386-text-edit-lock-kprobes.patch immediate-values-global-modules-list-and-module-mutex.patch immediate-value-architecture-independent-code.patch immediate-values-non-optimized-architectures.patch immediate-value-add-kconfig-menus.patch immediate-values-kprobe-header-fix.patch immediate-value-i386-optimization.patch immediate-value-powerpc-optimization.patch immediate-value-documentation.patch f00f-bug-fixup-for-i386-use-immediate-values.patch scheduler-profiling-use-immediate-values.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