m68knommu: reorganize the no-MMU cache flushing to match m68k
authorGreg Ungerer <gerg@uclinux.org>
Wed, 2 May 2012 07:02:21 +0000 (17:02 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 20 May 2012 11:22:08 +0000 (21:22 +1000)
commit1744bd921cd1037f0415574e0f8a3611984ecc7c
treea2607da59035bf3758e0e3c0c04cde6e1fd633ca
parent453549d2e511a8490e04f91b084aa418f9f4e5d2
m68knommu: reorganize the no-MMU cache flushing to match m68k

Introduce cache_push() and cache_clear() functions for the non-MMU m68k
devices. With these in place we can more easily merge some of the common
m68k arch code.

In particular by reorganizing the __flush_cache_all() code and separating
the cache push and clear functions it becomes trivial to implement the
new cache_push() and cache_clear() functions.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/cacheflush_no.h