All of lore.kernel.org
 help / color / mirror / Atom feed
* alternatives in modules
@ 2007-09-18 12:36 Denys Vlasenko
  2007-09-18 12:42 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Vlasenko @ 2007-09-18 12:36 UTC (permalink / raw)
  To: Mathieu Desnoyers; +Cc: linux-kernel

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?
--
vda

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: alternatives in modules
  2007-09-18 12:36 alternatives in modules Denys Vlasenko
@ 2007-09-18 12:42 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2007-09-18 12:42 UTC (permalink / raw)
  To: Denys Vlasenko; +Cc: linux-kernel

* 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-18 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 12:36 alternatives in modules Denys Vlasenko
2007-09-18 12:42 ` Mathieu Desnoyers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.