]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: expect new initramfs name from hypervisor file system
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 29 Mar 2013 17:50:21 +0000 (13:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:25:45 +0000 (09:25 -0700)
commit0c253d16b1b0f45b67a536db973f1bbc42a85996
tree516ef8ed0d4284b47a0a4155da9de2ca91a4df5b
parent4a5f3c127942a1c5bdcdc06de9bbe2dff529ab64
tile: expect new initramfs name from hypervisor file system

commit ff7f3efb9abf986f4ecd8793a9593f7ca4d6431a upstream.

The current Tilera boot infrastructure now provides the initramfs
to Linux as a Tilera-hypervisor file named "initramfs", rather than
"initramfs.cpio.gz", as before.  (This makes it reasonable to use
other compression techniques than gzip on the file without having to
worry about the name causing confusion.)  Adapt to use the new name,
but also fall back to checking for the old name.

Cc'ing to stable so that older kernels will remain compatible with
newer Tilera boot infrastructure.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/tile/kernel/setup.c