From: Michal Simek Date: Thu, 16 Aug 2012 13:53:35 +0000 (+0200) Subject: microblaze: Fix bug with passing command line X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc1c0ff2506cab8c3a019374550f68b3cbadcbe;p=pandora-kernel.git microblaze: Fix bug with passing command line When u-boot passes control over to Linux it places the Linux command line between to the end of __init_end. When space between __init_end and __bss_start is not COMMAND_LINE_SIZE then the part of cmdline can be lost. In extreme case if __init_end == __bss_start u-boot can't pass any cmdline to Linux kernel. This patch fix this issue by copying cmd line directly to cmd_line char array which is placed in data section. Reported-by: David Mc Andrew Signed-off-by: Michal Simek --- Reading git-diff-tree failed