Skip to content

Commit

Permalink
m68k: use the mmu version of cache.h for m68knommu as well
Browse files Browse the repository at this point in the history
The non-mmu version of cache.h is almost the same as the mmu version.
Merge them.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Greg Ungerer committed Mar 24, 2009
1 parent de9f4fc commit b0ffbf2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
14 changes: 10 additions & 4 deletions arch/m68k/include/asm/cache.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#ifdef __uClinux__
#include "cache_no.h"
#else
#include "cache_mm.h"
/*
* include/asm-m68k/cache.h
*/
#ifndef __ARCH_M68K_CACHE_H
#define __ARCH_M68K_CACHE_H

/* bytes per L1 cache line */
#define L1_CACHE_SHIFT 4
#define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT)

#endif
11 changes: 0 additions & 11 deletions arch/m68k/include/asm/cache_mm.h

This file was deleted.

12 changes: 0 additions & 12 deletions arch/m68k/include/asm/cache_no.h

This file was deleted.

0 comments on commit b0ffbf2

Please sign in to comment.