Re: [git pull] sparseirq / irq updates for v2.6.29

From: Ingo Molnar
Date: Mon Dec 29 2008 - 04:45:15 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> int __init __weak arch_early_irq_init(void)
> {
> + printk(KERN_DEBUG "calling __weak arch_early_irq_init()\n");

Hm, where do you get the idea that sprinkling functions with printks will
in any way improve the situation and result in clean code? Yes, it works
around the bug, but so will an infinite number of other things.

By far the best solution is to move them into a different compilation unit
- i.e. your first patch - i'll apply that one.

Ingo
--
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/