[openib-general] [PATCH] lockdep: don't pull in includes when lockdep disabled
Alexey Dobriyan
adobriyan at gmail.com
Wed Jul 26 00:13:18 PDT 2006
On Wed, Jul 26, 2006 at 08:33:19AM +0200, Arjan van de Ven wrote:
> On Wed, 2006-07-26 at 09:26 +0300, Michael S. Tsirkin wrote:
> > Ingo, does the following look good to you?
> >
> > Do not pull in various includes through lockdep.h if lockdep is disabled.
>
> Hi,
>
> can you tell us what this fixes? Eg is there a specific problem?
[raises hand]
Zillions of warnings on m68k allmodconfig. And, yes, patch removes them.
In file included from ...
from ...
include/linux/list.h: In function `__list_add_rcu':
include/linux/list.h:89: warning: implicit declaration of function `smp_wmb'
> I mean... we're adding ifdefs so there better be a real good reason for
> them.... fixing something real would be such a reason ;-)
More information about the general
mailing list