]> git.baikalelectronics.ru Git - kernel.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)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 29 Mar 2013 19:11:49 +0000 (15:11 -0400)
commite1777c779828bad68f46ddaee45651b92fac6d59
tree446905282637f9cb4f420bb1ee60345f3c8a6c8d
parent3829be578a2ef96ca061ccf37a65232d261a8e76
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