Paul Mundt <[EMAIL PROTECTED]> wrote:
>
> With this I can build on sh again. The other solution is to add the
>  include to asm/bug.h directly, but it would be nice to avoid linux/
>  includes from asm/ context in general..
> 
>  Thoughts? Or ideas for a more appropriate fix?
> 
>  --- linux-sh-2.6.11-mm2.orig/include/linux/list.h    2005-03-08 
> 15:46:50.601565604 +0200
>  +++ linux-sh-2.6.11-mm2/include/linux/list.h 2005-03-08 15:46:53.882114403 
> +0200
>  @@ -5,6 +5,7 @@
>   
>   #include <linux/stddef.h>
>   #include <linux/prefetch.h>
>  +#include <linux/kernel.h>
>   #include <asm/system.h>
>   #include <asm/bug.h>

It always feels bad doing something like the above, because you *know* it's
going to slow the compile down.

Happily, this change is only needed in -mm, so I'll add it to
list_del-debug.patch, thanks.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to