1
Description: Use correct limits for mips initrd
2
Author: Vladimir Serbinenko <phcoder@gmail.com>
4
Applied-Upstream: http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3203
5
Last-Update: 2011-04-14
7
Index: b/grub-core/loader/mips/linux.c
8
===================================================================
9
--- a/grub-core/loader/mips/linux.c
10
+++ b/grub-core/loader/mips/linux.c
12
grub_relocator_chunk_t ch;
14
err = grub_relocator_alloc_chunk_align (relocator, &ch,
15
- target_addr + linux_size + 0x10000,
16
- (0xffffffff - size) + 1,
17
+ (target_addr & 0x1fffffff)
18
+ + linux_size + 0x10000,
19
+ (0x10000000 - size),
21
GRUB_RELOCATOR_PREFERENCE_NONE);