Re: [PATCH] Fix vdso_enabled type on x86_64

Previous thread: [PATCH take 2] UBIFS - new flash file system by Artem Bityutskiy on Tuesday, May 6, 2008 - 3:35 am. (58 messages)

Next thread: [patch 00/24] vfs: fixes and cleanups + add helpers to check r/o bind mounts by Miklos Szeredi on Tuesday, May 6, 2008 - 2:13 am. (5 messages)
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>
--

From: Ingo Molnar
Date: Tuesday, May 6, 2008 - 4:35 am

applied, thanks.

	Ingo
--

Previous thread: [PATCH take 2] UBIFS - new flash file system by Artem Bityutskiy on Tuesday, May 6, 2008 - 3:35 am. (58 messages)

Next thread: [patch 00/24] vfs: fixes and cleanups + add helpers to check r/o bind mounts by Miklos Szeredi on Tuesday, May 6, 2008 - 2:13 am. (5 messages)