]> err.no Git - linux-2.6/commitdiff
x86: clean up vdso_enabled type on x86_64
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Mon, 12 May 2008 13:43:38 +0000 (15:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:45:18 +0000 (08:45 +0200)
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vma.c

index 3fdd51497a838b801cc69dbd8408ea849da75546..19a6cfaf5db9c2ff89e60ff7c8fa3f4485d9a14b 100644 (file)
@@ -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;