Skip to contentSkip to conversation

Fix vdso_enabled type on x86_64

PATCH Applied OGAWA Hirofumi 2 participants 2 messages May 6, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix vdso_enabled type on x86_64

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

---

 arch/x86/vdso/vma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/vdso/vma.c renamed from arch/x86/vdso/vma.c~fix-vdso_enabled +1 -1
diff -puN arch/x86/vdso/vma.c~fix-vdso_enabled arch/x86/vdso/vma.c
@@ -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;

_

Signature · 1 line
OGAWA Hirofumi <[email protected]>
Applied
#1 lore raw
Quoted 2 lines · OGAWA Hirofumi

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

applied, thanks.

Ingo