Re: alternatives in modules

From: Mathieu Desnoyers
Date: Tue Sep 18 2007 - 08:42:54 EST


* Denys Vlasenko (vda.linux@xxxxxxxxxxxxxx) wrote:
> Hi Mathieu,
>
> I was looking through kernel/module.c and if understand it
> correctly, it doesn't handle .altinstructions in modules at all.
> Am I reading code correctly?

Hi Denys,

See
arch/i386/kernel/module.c:module_finalize()
it calls apply_alternatives().
(and is called by load_module)

Mathieu

> --
> vda

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/