summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-02-08 08:51:59 +0100
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-14 03:12:09 +0100
commit40747ffa5aa8d5b99ca46c696234b9194b59e0ac (patch)
tree7ca377000699d37e291affa81f56b8e973248104 /arch/x86
parentasmlinkage: Make __iowrite32_copy visible (diff)
downloadlinux-40747ffa5aa8d5b99ca46c696234b9194b59e0ac.tar.xz
linux-40747ffa5aa8d5b99ca46c696234b9194b59e0ac.zip
asmlinkage: Make jiffies visible
Jiffies is referenced by the linker script, so it has to be visible. Handled both the generic and the x86 version. Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1391845930-28580-3-git-send-email-ak@linux.intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c
index 24d3c91e9812..6ec91c00d84d 100644
--- a/arch/x86/kernel/time.c
+++ b/arch/x86/kernel/time.c
@@ -23,7 +23,7 @@
#include <asm/time.h>
#ifdef CONFIG_X86_64
-DEFINE_VVAR(volatile unsigned long, jiffies) = INITIAL_JIFFIES;
+__visible DEFINE_VVAR(volatile unsigned long, jiffies) = INITIAL_JIFFIES;
#endif
unsigned long profile_pc(struct pt_regs *regs)