https://github.com/torvalds/linux
Revision ae92ef8a442421356950a0a8dfdc35e8e783000e authored by Roman Zippel on 31 May 2005, 21:39:29 UTC, committed by Linus Torvalds on 31 May 2005, 21:54:18 UTC
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 <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent f507345
History
Tip revision: ae92ef8a442421356950a0a8dfdc35e8e783000e authored by Roman Zippel on 31 May 2005, 21:39:29 UTC
[PATCH] flush icache in correct context
Tip revision: ae92ef8

README

back to top