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-24 22:43:37 -04:00
parent d5a077e500
commit 96c69282fc
2 changed files with 15 additions and 1 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

@ -31,7 +31,7 @@ Summary: The Linux kernel
#
# (Uncomment the '#' and both spaces below to set the buildid.)
#
# % define buildid .local
%define buildid .jcm1
###################################################################
# The buildid can also be specified on the rpmbuild command line
@ -727,6 +727,7 @@ Patch14010: lis3-improve-handling-of-null-rate.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
@ -1328,6 +1329,7 @@ ApplyPatch linux-2.6-i386-nx-emulation.patch
#ApplyPatch 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