ec2dfce5628afd6df193edaaccde7600d3ed072e
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.28 / 021-mips_image_cmdline_hack.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -766,6 +766,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 @@ -143,6 +143,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.048265 seconds and 3 git commands to generate.