kernel: add some missing config options
[openwrt.git] / target / linux / generic / patches-2.6.37 / 301-mips_image_cmdline_hack.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -886,6 +886,10 @@ config SYNC_R4K
4 config MIPS_MACHINE
5 def_bool n
6
7 +config IMAGE_CMDLINE_HACK
8 + bool "OpenWrt specific image command line hack"
9 + default n
10 +
11 config NO_IOPORT
12 def_bool n
13
14 --- a/arch/mips/kernel/head.S
15 +++ b/arch/mips/kernel/head.S
16 @@ -141,6 +141,12 @@ FEXPORT(__kernel_entry)
17 j kernel_entry
18 #endif
19
20 +#ifdef CONFIG_IMAGE_CMDLINE_HACK
21 + .ascii "CMDLINE:"
22 +EXPORT(__image_cmdline)
23 + .fill 0x400
24 +#endif /* CONFIG_IMAGE_CMDLINE_HACK */
25 +
26 __REF
27
28 NESTED(kernel_entry, 16, sp) # kernel entry point
This page took 0.049851 seconds and 5 git commands to generate.