]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] flush icache early when loading module
authorThomas Koeller <thomas@koeller.dyndns.org>
Tue, 6 Sep 2005 22:17:11 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:26 +0000 (16:57 -0700)
commit563d4d9d13d4c6a7a73468e3df4876b331b18234
tree457827b58dcbf923e151b08128d84c33d13c1149
parentc593c61d6bed478bbe993e29031e69ca20e395f1
[PATCH] flush icache early when loading module

Change the sequence of operations performed during module loading to flush
the instruction cache before module parameters are processed.  If a module
has parameters of an unusual type that cannot be handled using the standard
accessor functions param_set_xxx and param_get_xxx, it has to to provide a
set of accessor functions for this type.  This requires module code to be
executed during parameter processing, which is of course only possible
after the icache has been flushed.

Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/module.c