m68k: runtime patching infrastructure
Add the basic infrastructure to allow runtime patching of kernel and modules to optimize a few functions with parameters, which are only calculated once during bootup and are otherwise constant. Use this for the conversion between virtual and physical addresses. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
1fc799e1b4
commit
fbe9c96129
@@ -222,6 +222,9 @@ void __init paging_init(void)
|
||||
pgprot_val(protection_map[i]) |= _PAGE_CACHE040;
|
||||
}
|
||||
|
||||
module_fixup(NULL, __start_fixup, __stop_fixup);
|
||||
flush_icache();
|
||||
|
||||
/*
|
||||
* Map the physical memory available into the kernel virtual
|
||||
* address space. It may allocate some memory for page
|
||||
|
Reference in New Issue
Block a user