Re: [NET]: Shut up warnings in net/core/flow.c

From: David S. Miller
Date: Wed Nov 23 2005 - 03:55:11 EST


From: Andrew Morton <akpm@xxxxxxxx>
Date: Wed, 23 Nov 2005 00:21:34 -0800

> Nope, this will break !CONFIG_SMP builds. Quite a few places in the
> kernel do not implement the ipi handler if !CONFIG_SMP.

Ho hum, nothing is ever easy eh? :-) I think your patch is fine for
now, but in the long term the !CONFIG_SMP ifdefs for those ipi
handlers should probably just get removed. If GCC can't optimize
those things away, I'd be really surprised.
-
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/