[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445177: m68k: asm/cachectl.h ?



CCing Roman Zippel

* Thiemo Seufer <ths@networkno.de> [2007-10-03 20:39]:
> Package: linux-2.6
> Version: -
> Tags: patch
> 
> Hector Oron wrote:
> > Hello,
> > 
> >   I am trying to build a gcc cross compiler package for i386->m68k but
> > i get this error:
> >   ../../../src/libffi/src/m68k/ffi.c:13:26: error: asm/cachectl.h: No
> > such file or directory
> > 
> >   Do you know where should be cachectl.h? As it is not in kernel headers.
> >   Or is it a bug on GCC code (ffi.c includes)?
> 
> This is a bug in linux-2.6. m68k fails to export the header.
> The appended patch should fix this (untested).
> 
> 
> Thiemo
> 
> 
> diff --git a/include/asm-m68k/Kbuild b/include/asm-m68k/Kbuild
> index c68e168..a60c1db 100644
> --- a/include/asm-m68k/Kbuild
> +++ b/include/asm-m68k/Kbuild
> @@ -1 +1,3 @@
>  include include/asm-generic/Kbuild.asm
> +
> +header-y += cachectl.h
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Martin Michlmayr
http://www.cyrius.com/




Reply to: