arm64: Export useful functions from linux.c
Signed-off-by: Fu Wei <fu.wei@linaro.org>
This commit is contained in:
parent
cc699535e5
commit
f8451af825
5 changed files with 49 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue