Skip to contentSkip to conversation

UML - forgot asm-um/cmpxchg.h

PATCH In review Jeff Dike 2 participants 3 messages May 1, 2007 – May 3, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML - forgot asm-um/cmpxchg.h

The i386 and x86_64 cmpxchg patches require an asm-um/cmpxchg.h for the UML build.

--

 include/asm-um/cmpxchg.h |    6 ++++++
 1 file changed, 6 insertions(+)
include/asm-um/cmpxchg.h new file +6 -0
Index: linux-2.6.21-mm/include/asm-um/cmpxchg.h
===================================================================
@@ -0,0 +1,6 @@
+#ifndef __UM_CMPXCHG_H
+#define __UM_CMPXCHG_H
+
+#include "asm/arch/cmpxchg.h"
+
+#endif

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 13 lines · On Tue, 1 May 2007 15:36:46 -0400 Jeff Dike <[email protected]> wrote:

The i386 and x86_64 cmpxchg patches require an asm-um/cmpxchg.h for the UML build.

--

 include/asm-um/cmpxchg.h |    6 ++++++
 1 file changed, 6 insertions(+)

Index: linux-2.6.21-mm/include/asm-um/cmpxchg.h
===================================================================

include/asm-um/cmpxchg.h line 6

Quoted 6 lines
include/asm-um/cmpxchg.h new file +6 -0
@@ -0,0 +1,6 @@
+#ifndef __UM_CMPXCHG_H
+#define __UM_CMPXCHG_H
+
+#include "asm/arch/cmpxchg.h"
+
+#endif

OK, I clumped all three patches into one as I think that's required for git-bisect friendliness.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#2 lore raw
Quoted 2 lines · Andrew Morton

OK, I clumped all three patches into one as I think that's required for git-bisect friendliness.

OK - I separated the i386 and x86_64 bits to make it easy to drop the x86_64 part.

Plus, I think it doesn't make any difference - the headers behave the same as seen from the outside, except that UML needs the uml-cmpxchg patch in order to build. So, putting that first, then the other two separately results in a patchset that builds at all stages, I believe.

Jeff

Signature · 11 lines
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel