[PATCH] ARM: Avoid discarding sections that might have SMP_ON_UP fixups
From: Dave Martin <hidden>
Date: 2011-02-10 18:29:41
Also in:
linux-omap
On Thu, Feb 10, 2011 at 2:46 PM, Russell King - ARM Linux [off-list ref] wrote:
On Thu, Feb 10, 2011 at 02:13:13PM +0000, Dave Martin wrote:quoted
On Thu, Feb 10, 2011 at 2:11 PM, Dave Martin [off-list ref] wrote:quoted
Hi, apologies-- didn't see my mail for a bit. I get the problem with this tree and config (which builds with SMP_ON_UP and THUMB2_KERNEL for omap3/4): Tree: git://git.linaro.org/people/dmart/linux-2.6-arm.git dirty/arm/omap-thumb2+merged Config: http://people.linaro.org/~dmart/arm_omap-thumb2+v2_configThanks for the config.quoted
Note that this tree contains some extra patches (though I believe nothing is there which should cause the problem), and does not contain everything from rmk/devel -- so it's possible this has been fixed in the meantime or no longer occurs for some other reason...No need - I now have some modules which contain SMP alternatives, so we do need to fix the module loader for this, and keep the SMP alternatives replacement code around. ?It's not worth eliminating the code as if we include an informative printk() to say why we're refusing to load the module, the string would be larger than the code it eliminates. ?So, I think we need to merge the patch below to avoid run-time problems.
I thought the problem was not caused by removal of the fixup code, but rather by the removal of code referenced by fixups? Cheers ---Dave