]> err.no Git - linux-2.6/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)
commit2855b97020f6d4a4dfb005fb77c0b79c8cb9d13f
tree6746ded865a27cb23f1646ea2b9e10f76c9d9601
parent69f447cffb911bb2d9737fa905f6d983ec2aa5d3
[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