From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Fri, 11 Feb 2011 10:13:45 +0000 Subject: [PATCH] ARM: Avoid discarding sections that might have SMP_ON_UP fixups In-Reply-To: References: <20110126124452.GB4232@n2100.arm.linux.org.uk> <20110126172535.GA15983@arm.com> <20110209142211.GA11460@n2100.arm.linux.org.uk> <20110210125624.GA3652@n2100.arm.linux.org.uk> <20110210144617.GD3652@n2100.arm.linux.org.uk> <20110210191125.GA12582@n2100.arm.linux.org.uk> Message-ID: <20110211101345.GA23785@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Feb 11, 2011 at 09:33:56AM +0000, Dave Martin wrote: > Agreed -- actually, I suspected we might need to support this. But I > don't think solving this problem (= keeping the fixup implementation > in memory and enhancing the module loader) solved the > fixups-referencing-sections-discarded-from-vmlinux problem. These > seem to be two separate issues. I am filing to understand something? They are separate, but related issues. They both ultimately have the same cause - the placement of the spinlock code inline rather than out of line, resulting in fixups appearing all over the place rather than just in kernel/spinlock.o.