]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: Fix build error for SMP=n builds
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Aug 2011 23:01:00 +0000 (00:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Aug 2011 07:24:29 +0000 (08:24 +0100)
commit20feaab0323cc062b298c12e77869424df05f31f
tree3e97151b75d44c4c36ff6191e800fc04bbe44043
parenta9e4e6e14c322e08d1c615afc8f504fb415f9613
ARM: Fix build error for SMP=n builds

Unfortunately, the module fixups cause the kernel to fail to build
when SMP is not enabled.  Fix this by removing the reference to
fixup_smp on non-SMP fixup kernels, but ensuring that if we do have
the SMP fixup section, we refuse to load the module.

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