Re: Missing unistd_no.h and unistd_mm.h export on m68k

From: Lennart Sorensen
Date: Wed Feb 04 2009 - 13:31:54 EST


On Wed, Feb 04, 2009 at 01:14:53PM -0500, Lennart Sorensen wrote:
> make header_install fails to include the files unistd_no.h and
> unistd_mm.h on m68k, while those two files are included by unistd.h.
>
> This patch fixes this by adding these two files to the list of m68k
> specific headers to export.
>
> Signed-off-by: Len Sorensen <lsorense@xxxxxxxxxxxxxxxxxxx>
>
> Signed
> diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild
> index 1a922fa..2bb4738 100644
> --- a/arch/m68k/include/asm/Kbuild
> +++ b/arch/m68k/include/asm/Kbuild
> @@ -1,2 +1,2 @@
> include include/asm-generic/Kbuild.asm
> -header-y += cachectl.h
> +header-y += cachectl.h unistd_no.h unistd_mm.h

Hmm, seems it is actually much worse than I thought. All _no.h and
_mm.h are being missed, making m68k compiles of things like uclibc
rather broken. Yuck.

--
Len Sorensen
--
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/