]> git.ipfire.org Git - thirdparty/grub.git/commit
Avoid unnecessary copying on MIPS.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 17 May 2011 19:40:35 +0000 (21:40 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 17 May 2011 19:40:35 +0000 (21:40 +0200)
commit35341bbc9644eb17ae08e5ccbc52c691cc8357fb
treea287386f3b3886751465a60ae09c8a3d245ae63f
parentb772baedcd8ef2a995f4bb0fc8ebc9157c21e9b7
Avoid unnecessary copying on MIPS.

* grub-core/boot/decompressor/none.c (grub_decompress_core): Exit
early if src == dest.
* util/grub-mkimage.c (generate_image): Arange for src == dest if
compression is none.
ChangeLog
grub-core/boot/decompressor/none.c
util/grub-mkimage.c