Skip to contentSkip to conversation

+ inith-add-missing-initcall-variants.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Dec 3, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + inith-add-missing-initcall-variants.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 03 Dec 2013 13:27:05 -0800

The patch titled
Subject: init.h: add missing initcall variants
has been added to the -mm tree. Its filename is
inith-add-missing-initcall-variants.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/inith-add-missing-initcall-variants.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/inith-add-missing-initcall-variants.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Randy Dunlap <[email protected]>
Subject: init.h: add missing initcall variants

Add missing initcall variants when building for loadable modules. This fixes this build error on powerpc allmodconfig:

drivers/tty/ehv_bytechan.c: error: type defaults to 'int' in declaration of 'console_initcall' [-Werror=implicit-int]

---

 include/linux/init.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/init.h renamed from include/linux/init.h~inith-add-missing-initcall-variants +2 -0
diff -puN include/linux/init.h~inith-add-missing-initcall-variants include/linux/init.h
@@ -286,9 +286,11 @@ void __init parse_early_options(char *cm
 #define arch_initcall(fn)		module_init(fn)
 #define subsys_initcall(fn)		module_init(fn)
 #define fs_initcall(fn)			module_init(fn)
+#define rootfs_initcall(fn)		module_init(fn)
 #define device_initcall(fn)		module_init(fn)
 #define late_initcall(fn)		module_init(fn)
 
+#define console_initcall(fn)		module_init(fn)
 #define security_initcall(fn)		module_init(fn)
 
 /* Each module must use one module_init(). */

_

Patches currently in -mm which might be from [email protected] are

origin.patch
inith-add-missing-initcall-variants.patch drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo.patch mtd-cmdlinepart-use-cmdline-partition-parser-lib-fix.patch linux-next.patch debugging-keep-track-of-page-owners.patch