public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* m68k with mmu doesn't compile after 66d857b08b8c3ed
@ 2011-08-20 19:18 Rob Landley
  2011-08-20 19:46 ` Geert Uytterhoeven
  2011-08-20 20:14 ` Rob Landley
  0 siblings, 2 replies; 6+ messages in thread
From: Rob Landley @ 2011-08-20 19:18 UTC (permalink / raw)
  To: LKML, gerg

The m68k build in 3.0 dies with this:

  CC      arch/m68k/kernel/dma.o
In file included from arch/m68k/kernel/dma.c:4:
arch/m68k/kernel/dma_no.c: In function 'dma_sync_single_for_cpu':
arch/m68k/kernel/dma_no.c:44: error: implicit declaration of function
'flush_dcache_range'
make[1]: *** [arch/m68k/kernel/dma.o] Error 1
make: *** [arch/m68k/kernel] Error 2

That file includes <asm/cacheflush.h>, which for m68k is:

#ifdef __uClinux__
#include "cacheflush_no.h"
#else
#include "cacheflush_mm.h"
#endif

The nommu header (cacheflush_no.h) does #define flush_dcache_range(),
but the clacheflush_mm.h version does not.  I.E. you can only currently
build m68k for Coldfire, you can no longer build it for an actual m68k.

(A git log of Linus' tree shows cacheflush_mm.h hasn't been touched
since 2010, and I pulled earlier today.)

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-23 11:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-20 19:18 m68k with mmu doesn't compile after 66d857b08b8c3ed Rob Landley
2011-08-20 19:46 ` Geert Uytterhoeven
2011-08-20 22:22   ` Rob Landley
2011-08-22  3:40   ` Greg Ungerer
2011-08-23 11:57     ` Rob Landley
2011-08-20 20:14 ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox