[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <871w4fst5c.fsf@duaron.myhome.or.jp>
Date: Tue, 06 May 2008 18:01:35 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] Fix vdso_enabled type on x86_64
This fixes type of "vdso_enabled" on X86_64 to match extern in asm/elf.h.
Signed-off-by: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
---
arch/x86/vdso/vma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/x86/vdso/vma.c~fix-vdso_enabled arch/x86/vdso/vma.c
--- linux-2.6/arch/x86/vdso/vma.c~fix-vdso_enabled 2008-05-06 16:47:14.000000000 +0900
+++ linux-2.6-hirofumi/arch/x86/vdso/vma.c 2008-05-06 16:47:20.000000000 +0900
@@ -16,7 +16,7 @@
#include "vextern.h" /* Just for VMAGIC. */
#undef VEXTERN
-int vdso_enabled = 1;
+unsigned int __read_mostly vdso_enabled = 1;
extern char vdso_start[], vdso_end[];
extern unsigned short vdso_sync_cpuid;
_
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
--
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