diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-09-23 21:50:56 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-10-28 13:22:13 +0300 |
commit | 61a492fb1759f3e892ad0408e36d3575c5f890d0 (patch) | |
tree | a34a7f434300d9024c8f8deed63ca1fa4e6f3c5c /arch/x86/kernel/time.c | |
parent | 287e013108a104e459e675432cf20087feab2b67 (diff) | |
download | linux-61a492fb1759f3e892ad0408e36d3575c5f890d0.tar.xz |
x86_64/vdso: Remove jiffies from the vvar page
I think that the jiffies vvar was once used for the vgetcpu
cache. That code is long gone, so let's just make jiffies be a
normal variable.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/fcfee6f8749af14d96373a9e2656354ad0b95499.1411494540.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/time.c')
-rw-r--r-- | arch/x86/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c index 0fa29609b2c4..25adc0e16eaa 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 -__visible DEFINE_VVAR(volatile unsigned long, jiffies) = INITIAL_JIFFIES; +__visible volatile unsigned long jiffies __cacheline_aligned = INITIAL_JIFFIES; #endif unsigned long profile_pc(struct pt_regs *regs) |