alternatives in modules

Previous thread: 2.4.35 SMP: ext3_readdir: bad entry in directory #323888: rec_len is smaller than minimal by Ville Herva on Tuesday, September 18, 2007 - 5:23 am. (9 messages)

Next thread: PCI Interrupt by Duncan.Perrett on Tuesday, September 18, 2007 - 6:17 am. (14 messages)
From: Denys Vlasenko
Date: Tuesday, September 18, 2007 - 5:36 am

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
-

From: Mathieu Desnoyers
Date: Tuesday, September 18, 2007 - 5:42 am

Hi Denys,

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


-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-

Previous thread: 2.4.35 SMP: ext3_readdir: bad entry in directory #323888: rec_len is smaller than minimal by Ville Herva on Tuesday, September 18, 2007 - 5:23 am. (9 messages)

Next thread: PCI Interrupt by Duncan.Perrett on Tuesday, September 18, 2007 - 6:17 am. (14 messages)