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 17:04:14 +0000 (10:04 -0700)
commitc625222d5a11de4284ef6194c34f4e161c4cb9ef
tree8c350b0a7c538cb68b0e23ede8433bc629b92288
parent66156e6f66b648a7ca7f23e659552eed2db7bb9e
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