lkml.org 
[lkml]   [2007]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: alternatives in modules
* Denys Vlasenko (vda.linux@googlemail.com) 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-18 14:45    [W:0.023 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site