diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/boot/compressed/eboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c index 2c14e76bb4c7..52a4e667b258 100644 --- a/arch/x86/boot/compressed/eboot.c +++ b/arch/x86/boot/compressed/eboot.c | |||
@@ -674,7 +674,7 @@ free_initrd_total: | |||
674 | low_free(initrd_total, initrd_addr); | 674 | low_free(initrd_total, initrd_addr); |
675 | 675 | ||
676 | close_handles: | 676 | close_handles: |
677 | for (k = j; k < nr_initrds; k++) | 677 | for (k = j; k < i; k++) |
678 | efi_call_phys1(fh->close, initrds[k].handle); | 678 | efi_call_phys1(fh->close, initrds[k].handle); |
679 | free_initrds: | 679 | free_initrds: |
680 | efi_call_phys1(sys_table->boottime->free_pool, initrds); | 680 | efi_call_phys1(sys_table->boottime->free_pool, initrds); |