summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorAndi Kleen2013-08-06 00:02:43 +0200
committerH. Peter Anvin2013-08-06 23:20:13 +0200
commit277d5b40b7bf495d2d4193746181b17dd98441b2 (patch)
tree105ebee6f6306e1a1cf1abfb3ba0da30d388447d /arch/x86/kernel/setup.c
parentx86, asmlinkage: Make kprobes code visible and fix assembler code (diff)
downloadkernel-qcow2-linux-277d5b40b7bf495d2d4193746181b17dd98441b2.tar.gz
kernel-qcow2-linux-277d5b40b7bf495d2d4193746181b17dd98441b2.tar.xz
kernel-qcow2-linux-277d5b40b7bf495d2d4193746181b17dd98441b2.zip
x86, asmlinkage: Make several variables used from assembler/linker script visible
Plus one function, load_gs_index(). Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1375740170-7446-10-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index f8ec57815c05..dfa55afccf5e 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -206,9 +206,9 @@ EXPORT_SYMBOL(boot_cpu_data);
#if !defined(CONFIG_X86_PAE) || defined(CONFIG_X86_64)
-unsigned long mmu_cr4_features;
+__visible unsigned long mmu_cr4_features;
#else
-unsigned long mmu_cr4_features = X86_CR4_PAE;
+__visible unsigned long mmu_cr4_features = X86_CR4_PAE;
#endif
/* Boot loader ID and version as integers, for the benefit of proc_dointvec */