diff options
| author | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
| commit | 4e9816d012dbc28dc89559261c6ffbf8ffc440dd (patch) | |
| tree | dee9f8b31f3d6d2fb141541da88e1cc1329b017e /include/linux/init.h | |
| parent | da98f44f27d81d7fe9a41f69af4fe08c18d13b56 (diff) | |
| parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) | |
Merge tag 'v3.16-rc5' into next/fixes-non-critical
Linux 3.16-rc5
Diffstat (limited to 'include/linux/init.h')
| -rw-r--r-- | include/linux/init.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index a3ba27076342..2df8e8dd10a4 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
| @@ -297,16 +297,28 @@ void __init parse_early_options(char *cmdline); | |||
| 297 | 297 | ||
| 298 | #else /* MODULE */ | 298 | #else /* MODULE */ |
| 299 | 299 | ||
| 300 | /* Don't use these in loadable modules, but some people do... */ | 300 | /* |
| 301 | * In most cases loadable modules do not need custom | ||
| 302 | * initcall levels. There are still some valid cases where | ||
| 303 | * a driver may be needed early if built in, and does not | ||
| 304 | * matter when built as a loadable module. Like bus | ||
| 305 | * snooping debug drivers. | ||
| 306 | */ | ||
| 301 | #define early_initcall(fn) module_init(fn) | 307 | #define early_initcall(fn) module_init(fn) |
| 302 | #define core_initcall(fn) module_init(fn) | 308 | #define core_initcall(fn) module_init(fn) |
| 309 | #define core_initcall_sync(fn) module_init(fn) | ||
| 303 | #define postcore_initcall(fn) module_init(fn) | 310 | #define postcore_initcall(fn) module_init(fn) |
| 311 | #define postcore_initcall_sync(fn) module_init(fn) | ||
| 304 | #define arch_initcall(fn) module_init(fn) | 312 | #define arch_initcall(fn) module_init(fn) |
| 305 | #define subsys_initcall(fn) module_init(fn) | 313 | #define subsys_initcall(fn) module_init(fn) |
| 314 | #define subsys_initcall_sync(fn) module_init(fn) | ||
| 306 | #define fs_initcall(fn) module_init(fn) | 315 | #define fs_initcall(fn) module_init(fn) |
| 316 | #define fs_initcall_sync(fn) module_init(fn) | ||
| 307 | #define rootfs_initcall(fn) module_init(fn) | 317 | #define rootfs_initcall(fn) module_init(fn) |
| 308 | #define device_initcall(fn) module_init(fn) | 318 | #define device_initcall(fn) module_init(fn) |
| 319 | #define device_initcall_sync(fn) module_init(fn) | ||
| 309 | #define late_initcall(fn) module_init(fn) | 320 | #define late_initcall(fn) module_init(fn) |
| 321 | #define late_initcall_sync(fn) module_init(fn) | ||
| 310 | 322 | ||
| 311 | #define console_initcall(fn) module_init(fn) | 323 | #define console_initcall(fn) module_init(fn) |
| 312 | #define security_initcall(fn) module_init(fn) | 324 | #define security_initcall(fn) module_init(fn) |
