mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/loader/i386/linux.c (allocate_pages): Fix handling of the
case when min_align = 0.
This commit is contained in:
1 parent
24539abdb1
commit
1a11761f7d
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2012-03-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/loader/i386/linux.c (allocate_pages): Fix handling of the
|
||||
case when min_align = 0.
|
||||
|
||||
2012-03-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning
|
||||
|
||||
@@ -289,7 +289,7 @@ allocate_pages (grub_size_t prot_size, grub_size_t *align,
|
||||
prot_size, 1,
|
||||
GRUB_RELOCATOR_PREFERENCE_LOW,
|
||||
1);
|
||||
for (; err && *align >= min_align; (*align)--)
|
||||
for (; err && *align + 1 > min_align; (*align)--)
|
||||
{
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
err = grub_relocator_alloc_chunk_align (relocator, &ch,
|
||||
|
||||
Reference in new issue
Block a user