[PATCH] Fix vdso_enabled type on x86_64

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: OGAWA Hirofumi
Date: Tuesday, May 6, 2008 - 2:01 am

This fixes type of "vdso_enabled" on X86_64 to match extern in asm/elf.h.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.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@mail.parknet.co.jp>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix vdso_enabled type on x86_64, OGAWA Hirofumi, (Tue May 6, 2:01 am)
Re: [PATCH] Fix vdso_enabled type on x86_64, Ingo Molnar, (Tue May 6, 4:35 am)