]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: fixup SMP alternatives in modules
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Feb 2011 15:25:18 +0000 (15:25 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Feb 2011 15:25:18 +0000 (15:25 +0000)
commit821c8d6330f32a642e3f8914db68953c037bd3ae
treee83a6ecf2fd04ac3535a07a19fc645c1949f0698
parent5b95b1c14150f6937075aba34117d84dac60f389
ARM: fixup SMP alternatives in modules

With certain configurations, we inline the unlock functions in modules,
which results in SMP alternatives being created in modules.  We need to
fix those up when loading a module to prevent undefined instruction
faults.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S
arch/arm/kernel/module.c