kallsyms: Temporary fix for kallsyms on !CONFIG_SMP

Corrects a problem with kallsyms while discussing upstream.

Signed-off-by: Jon Masters <jcm@redhat.com>
This commit is contained in:
Jon Masters 2012-03-25 00:37:33 -04:00
parent 52f64574fa
commit 5e97d35e3e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- linux-3.3.0-0.rc6.git2.3.fc15.armv7hl_percpu_problem/arch/arm/kernel/vmlinux.lds.S 2012-03-24 21:59:47.000000000 -0400
+++ linux-3.3.0-0.rc6.git2.3.fc15.armv7hl_test1/arch/arm/kernel/vmlinux.lds.S 2012-03-24 15:24:50.000000000 -0400
@@ -183,7 +183,9 @@ SECTIONS
}
#endif
+#ifdef CONFIG_SMP
PERCPU_SECTION(L1_CACHE_BYTES)
+#endif
#ifdef CONFIG_XIP_KERNEL
__data_loc = ALIGN(4); /* location in binary */

View File

@ -727,6 +727,7 @@ Patch20000: utrace.patch
Patch21000: arm-omap-dt-compat.patch
Patch21001: arm-smsc-support-reading-mac-address-from-device-tree.patch
Patch21004: arm-tegra-nvec-kconfig.patch
Patch21005: arm-nosmp-fix-per_cpu-data-type-kallsyms.patch
# highbank patches
# Highbank clock functions need to be EXPORT for module builds
@ -1325,6 +1326,7 @@ ApplyPatch linux-2.6-i386-nx-emulation.patch
#pplyPatch arm-omap-dt-compat.patch
ApplyPatch arm-smsc-support-reading-mac-address-from-device-tree.patch
ApplyPatch arm-tegra-nvec-kconfig.patch
ApplyPatch arm-nosmp-fix-per_cpu-data-type-kallsyms.patch
#
# bugfixes to drivers and filesystems