From: Roman Zippel Date: Tue, 31 May 2005 21:39:29 +0000 (-0700) Subject: [PATCH] flush icache in correct context X-Git-Tag: v2.6.12-rc6~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae92ef8a442421356950a0a8dfdc35e8e783000e;p=pandora-kernel.git [PATCH] flush icache in correct context flush_icache_range() is used in two different situation - in binfmt_elf.c & co for user space mappings and module.c for kernel modules. On m68k flush_icache_range() doesn't know which data to flush, as it has separate address spaces and the pointer argument can be valid in either address space. First I considered splitting flush_icache_range(), but this patch is simpler. Setting the correct context gives flush_icache_range() enough information to flush the correct data. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed