Some bootloaders pass the kernel parameters in different registers. Allow for platform-specific initialization of the command line. Signed-off-by: Steven J. Hill <Steven.Hill@xxxxxxxxxx> --- arch/mips/include/asm/fw/fw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/fw/fw.h b/arch/mips/include/asm/fw/fw.h index d0ef8b4..0fcd63e 100644 --- a/arch/mips/include/asm/fw/fw.h +++ b/arch/mips/include/asm/fw/fw.h @@ -21,7 +21,7 @@ #define fw_argv(index) ((char *)(long)_fw_argv[(index)]) #define fw_envp(index) ((char *)(long)_fw_envp[(index)]) -extern void fw_init_cmdline(void); +extern void __weak fw_init_cmdline(void); extern char *fw_getcmdline(void); extern void fw_meminit(void); extern char *fw_getenv(char *name); -- 1.9.1