summaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
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-13 18:12:09 -0800
commit40747ffa5aa8d5b99ca46c696234b9194b59e0ac (patch)
tree7ca377000699d37e291affa81f56b8e973248104 /kernel/timer.c
parentd47d5c8194579bce1d62f88e26fea91d7c553e42 (diff)
downloadlinux-stable-40747ffa5aa8d5b99ca46c696234b9194b59e0ac.tar.gz
linux-stable-40747ffa5aa8d5b99ca46c696234b9194b59e0ac.tar.bz2
linux-stable-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 'kernel/timer.c')
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index accfd241b9e5..d78de047599b 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -52,7 +52,7 @@
#define CREATE_TRACE_POINTS
#include <trace/events/timer.h>
-u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES;
+__visible u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES;
EXPORT_SYMBOL(jiffies_64);