Re: [PATCH 04/10] x86: kill smpboot_hooks.h

From: Thomas Gleixner
Date: Mon Mar 22 2010 - 09:35:16 EST


On Sun, 21 Mar 2010, Yinghai Lu wrote:

> only one user, move it back to smpboot.c
>
> remove smpboot_clear_io_apic, and only keep smpboot_clear_io_apic_irqs.
>
> and check nr_legacy_irqs before clear it.

This is not the way how we do that. We move code in one patch and then
do modification in the follow up patch. Doing both makes it harder
than necessary to follow the code change.

As a side note, that changelog for the removal of
smpboot_clear_io_apic is not telling anything why that change is
functional equivivalent to the original code. And I doubt that it's
correct.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/