aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/Kconfig4
-rwxr-xr-xscripts/link-vmlinux.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 22320804fbaf..b17824a875fa 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1420,6 +1420,10 @@ config KALLSYMS_ALL
1420 1420
1421 Say N unless you really need all symbols. 1421 Say N unless you really need all symbols.
1422 1422
1423config KALLSYMS_ABSOLUTE_PERCPU
1424 bool
1425 default X86_64 && SMP
1426
1423config PRINTK 1427config PRINTK
1424 default y 1428 default y
1425 bool "Enable support for printk" if EXPERT 1429 bool "Enable support for printk" if EXPERT
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index ba6c34ea5429..7a08bf9a9576 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -86,7 +86,7 @@ kallsyms()
86 kallsymopt="${kallsymopt} --page-offset=$CONFIG_PAGE_OFFSET" 86 kallsymopt="${kallsymopt} --page-offset=$CONFIG_PAGE_OFFSET"
87 fi 87 fi
88 88
89 if [ -n "${CONFIG_X86_64}" ]; then 89 if [ -n "${CONFIG_KALLSYMS_ABSOLUTE_PERCPU}" ]; then
90 kallsymopt="${kallsymopt} --absolute-percpu" 90 kallsymopt="${kallsymopt} --absolute-percpu"
91 fi 91 fi
92 92