arm64: Export useful functions from linux.c

Signed-off-by: Fu Wei <fu.wei@linaro.org>
This commit is contained in:
Fu Wei 2015-05-07 15:11:04 +02:00 committed by Vladimir Serbinenko
parent cc699535e5
commit f8451af825
5 changed files with 49 additions and 37 deletions

View file

@ -205,7 +205,8 @@ grub_initrd_init (int argc, char *argv[],
initrd_ctx->nfiles++;
initrd_ctx->components[i].size
= grub_file_size (initrd_ctx->components[i].file);
initrd_ctx->size += ALIGN_UP (initrd_ctx->components[i].size, 4);
if (argc != 1)
initrd_ctx->size += ALIGN_UP (initrd_ctx->components[i].size, 4);
}
if (newc)