openwrt/target/linux/rb532/patches-2.6.24/140-cmdline_hack.patch

14 lines
240 B
Diff

--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -122,6 +122,10 @@
j kernel_entry
nop
+
+EXPORT(_image_cmdline)
+ .ascii "CMDLINE:"
+
#ifndef CONFIG_NO_EXCEPT_FILL
/*
* Reserved space for exception handlers.