x86: io-apic - interrupt remapping fix
Clean up obscure for() cycle with straight while() form Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Cc: "Maciej W. Rozycki" <macro@linux-mips.org> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Родитель
7564676813
Коммит
c1370b49cc
|
@ -830,9 +830,8 @@ int save_mask_IO_APIC_setup(void)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
nomem:
|
nomem:
|
||||||
for (; apic > 0; apic--)
|
while (apic >= 0)
|
||||||
kfree(early_ioapic_entries[apic]);
|
kfree(early_ioapic_entries[apic--]);
|
||||||
kfree(early_ioapic_entries[apic]);
|
|
||||||
memset(early_ioapic_entries, 0,
|
memset(early_ioapic_entries, 0,
|
||||||
ARRAY_SIZE(early_ioapic_entries));
|
ARRAY_SIZE(early_ioapic_entries));
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче