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)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 29 Mar 2013 19:11:49 +0000 (15:11 -0400)
commitff7f3efb9abf986f4ecd8793a9593f7ca4d6431a
tree446905282637f9cb4f420bb1ee60345f3c8a6c8d
parenta937536b868b8369b98967929045f1df54234323
tile: expect new initramfs name from hypervisor file system

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>
Cc: stable@vger.kernel.org
arch/tile/kernel/setup.c