[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0ea062d74a64a11c587deeee4ca7e9c396a0244f.1306517576.git.luto@mit.edu>
Date: Fri, 27 May 2011 13:38:38 -0400
From: Andy Lutomirski <luto@....EDU>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
x86@...nel.org
Cc: linux-kernel@...r.kernel.org, Andy Lutomirski <luto@....edu>
Subject: [PATCH 1/5] x86-64: Fix alignment of jiffies variable
It's declared __attribute__((aligned(16)) but it's explicitly not
aligned. This is probably harmless but it's a but embarrassing.
Signed-off-by: Andy Lutomirski <luto@....edu>
---
arch/x86/include/asm/vvar.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h
index 341b355..a4eaca4 100644
--- a/arch/x86/include/asm/vvar.h
+++ b/arch/x86/include/asm/vvar.h
@@ -45,7 +45,7 @@
/* DECLARE_VVAR(offset, type, name) */
DECLARE_VVAR(0, volatile unsigned long, jiffies)
-DECLARE_VVAR(8, int, vgetcpu_mode)
+DECLARE_VVAR(16, int, vgetcpu_mode)
DECLARE_VVAR(128, struct vsyscall_gtod_data, vsyscall_gtod_data)
#undef DECLARE_VVAR
--
1.7.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists