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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Apr 2013 02:20:06 +0000 (03:20 +0100)
commit22fa3230644f5b01a757c1324f382a5abfed5434
treeab6887cd95247548694100185f91194b1206a5f5
parent9d4fee47534112e0e39e91268a89c8cb35c5a69d
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/tile/kernel/setup.c