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

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



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




Reply to: