Re: sparse chokes on arch/i386/kernel/i8253.c (was: 2.6.20-mm1)

From: Andrew Morton
Date: Thu Feb 15 2007 - 20:23:10 EST


On Thu, 15 Feb 2007 19:37:39 -0500
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> > For what reason was that change made?
> >
>
> It was made so that we can use the markers in C code without actually
> including marker.h everywhere. I am sure someone has a better way to do
> it : I would be happy to use this-nice-build-system-feature-I-missed to
> have marker.h included.

Oh. One could whack it in kernel.h: pretty much everything includes that.

But it'd be better to simply require that the clients of this
infrastructure include the appropriate header file. We do that for
everything else and markers aren't special in this regard.
-
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/