linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 1/1] UML - UML/i386 cmpxchg fix
@ 2005-09-16 17:55 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-09-16 17:55 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

This is 2.6.14 material, as it works in current mainline, and is a slight 
improvment there.

In -rc1-mm1, this fixes a compilation breakage caused by the cmpxchg changes
in asm-i386/system.h.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.13-rc1-mm1/arch/um/Kconfig.i386
===================================================================
--- linux-2.6.13-rc1-mm1.orig/arch/um/Kconfig.i386	2005-09-16 12:33:07.000000000 -0400
+++ linux-2.6.13-rc1-mm1/arch/um/Kconfig.i386	2005-09-16 13:20:49.000000000 -0400
@@ -42,3 +42,7 @@
 config ARCH_REUSE_HOST_VSYSCALL_AREA
 	bool
 	default y
+
+config X86_CMPXCHG
+	bool
+	default y
Index: linux-2.6.13-rc1-mm1/include/asm-um/system-i386.h
===================================================================
--- linux-2.6.13-rc1-mm1.orig/include/asm-um/system-i386.h	2005-08-28 19:41:01.000000000 -0400
+++ linux-2.6.13-rc1-mm1/include/asm-um/system-i386.h	2005-09-16 13:20:20.000000000 -0400
@@ -3,6 +3,4 @@
 
 #include "asm/system-generic.h"
     
-#define __HAVE_ARCH_CMPXCHG 1
-
 #endif



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-16 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 17:55 [uml-devel] [PATCH 1/1] UML - UML/i386 cmpxchg fix Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).