Merge tag 'v3.18' into p/abusse/merge_upgrade
[projects/modsched/linux.git] / include / asm-generic / vmlinux.lds.h
index aa70cbd..e66c650 100644 (file)
                *(.security_initcall.init)                              \
                VMLINUX_SYMBOL(__security_initcall_end) = .;
 
+#ifdef CONFIG_MOD_SCHED
+#define COBAS_INITCALL                                                 \
+               VMLINUX_SYMBOL(__fw_modules_init_start) = .;            \
+               *(.fw.modules.init)                                     \
+               VMLINUX_SYMBOL(__fw_modules_init_end) = .;
+#else
+#define COBAS_INITCALL
+#endif
+
 #ifdef CONFIG_BLK_DEV_INITRD
 #define INIT_RAM_FS                                                    \
        . = ALIGN(4);                                                   \
                INIT_CALLS                                              \
                CON_INITCALL                                            \
                SECURITY_INITCALL                                       \
+               COBAS_INITCALL                                  \
                INIT_RAM_FS                                             \
        }