mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix vdso_enabled type on x86_64
@ 2008-05-06  9:01 OGAWA Hirofumi
  2008-05-06 11:35 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: OGAWA Hirofumi @ 2008-05-06  9:01 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix vdso_enabled type on x86_64
  2008-05-06  9:01 [PATCH] Fix vdso_enabled type on x86_64 OGAWA Hirofumi
@ 2008-05-06 11:35 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-05-06 11:35 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: linux-kernel


* OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:

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

applied, thanks.

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-06 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-06  9:01 [PATCH] Fix vdso_enabled type on x86_64 OGAWA Hirofumi
2008-05-06 11:35 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®