[PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h>
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Feb 28 19:06:09 EST 2012
On Tue, Feb 28, 2012 at 06:52:45PM -0500, Paul Gortmaker wrote:
> [Re: [PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h>] On 28/02/2012 (Tue 13:21) Russell King - ARM Linux wrote:
>
> [...]
>
> > The answer is not to start scattering lots of .c files with linux/bug.h
> > includes, but to fix linux/kernel.h.
>
> Hi Russell,
>
> I understand your concerns, and had I found myself "buggering" lots
> of .c files, I would have backed away and said to myself, "OK, this
> really isn't going to work - we really can't do this."
>
> But to put some metrics to it, after building for about 10 different
> arch and all their defconfigs, I only had to change about twenty[1] of
> the approximately sixteen thousand .c files in the kernel.
I think there's more than that - I've seen two reports for other
files which have needed fixing so far, and I wouldn't be surprised if
there's more.
I guess we'll see in coming weeks how it pans out, but my gut feeling
is that this is going to cause a fair number of build problems.
More information about the linux-arm-kernel
mailing list