]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit378bac820be6a0ec95df8151524de73ad2b2d2ac
tree457827b58dcbf923e151b08128d84c33d13c1149
parent19b4946ca9d1e35d4c641dcebe27378de34f3ddd
[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