]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] m68k: move cache functions into separate file
authorRoman Zippel <zippel@linux-m68k.org>
Sat, 3 Sep 2005 22:57:09 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:19 +0000 (00:06 -0700)
commitb701952be0fcd96dd2a555da2db4840c71b30169
tree6746ded865a27cb23f1646ea2b9e10f76c9d9601
parentf03db26a85ea94ab080b94e87a8abb39a21e50c0
[PATCH] m68k: move cache functions into separate file

Move a few cache functions into its own file and fix flush_icache_range() so
it can handle both kernel and user addresses correctly (assuming context is
set correctly).

Turn copy_to_user_page/copy_from_user_page into inline functions and add a
missing cache flush.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68k/mm/Makefile
arch/m68k/mm/cache.c [new file with mode: 0644]
arch/m68k/mm/memory.c
include/asm-m68k/cacheflush.h