load_linux: additional cleanups and corner case fixing
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 4 Feb 2013 19:35:39 +0000 (11:35 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 4 Feb 2013 19:35:39 +0000 (11:35 -0800)
commitc3b4e4408688d150da5da74b15b5dba773ff3f28
tree5f126bf242437727031f75579d9bff3e2612413f
parentb9911b669ba6c0118431df0675ba4df14abb21d8
load_linux: additional cleanups and corner case fixing

Handle the case with a zero-length passed in initramfs for ancient
protocols, since we bothered handling it correctly for newer
protocols.

Move the setting of the command line pointer to the place where the
command line is actually placed, for clarity.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/lib/syslinux/load_linux.c