efi: Update the correct copy of hdr
authorMatt Fleming <matt.fleming@intel.com>
Tue, 11 Sep 2012 16:28:09 +0000 (17:28 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 11 Sep 2012 17:21:04 +0000 (18:21 +0100)
commitf01bd6bf93b0962e345593fa504ef91ef5e8dafe
tree07158397dd3994a1ae83856e8d6b3b4712c73eb6
parent9e657f72da9f5bfb66e534ce5ddeda4d5d9c936d
efi: Update the correct copy of hdr

There are two struct linux_header variables in efi_boot(), only one of
which points to the boot params that we pass to the kernel we're
booting. Fix the initramfs code to update the correct variable,
otherwise the kernel won't know about any initramfs we've loaded.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
efi/main.c