[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4746B171.1070001@gmail.com>
Date: Fri, 23 Nov 2007 11:54:41 +0100
From: Jiri Olsa <olsajiri@...il.com>
To: Karol Swietlicki <magotari@...il.com>
CC: Jeff Dike <jdike@...toit.com>, linux-kernel@...r.kernel.org,
user-mode-linux-devel@...ts.sourceforge.net,
Miklos Szeredi <miklos@...redi.hu>
Subject: Re: [uml-devel] uml doesn't work on 2.6.24-rc2
Hi,
after applying following changes, the mainline is working for me.
Jiri Olsa
diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386
index e0ac74e..234fcb4 100644
--- a/arch/um/Kconfig.i386
+++ b/arch/um/Kconfig.i386
@@ -8,6 +8,13 @@ config UML_X86
bool
default y
+config X86_32
+ bool
+ default y
+
+config RWSEM_XCHGADD_ALGORITHM
+ def_bool y
+
config 64BIT
bool
default n
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 31999bc..ba6813a 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -168,7 +168,7 @@ ifneq ($(KBUILD_SRC),)
$(Q)mkdir -p $(objtree)/include/asm-um
$(Q)ln -fsn $(srctree)/include/asm-$(HEADER_ARCH) include/asm-um/arch
else
- $(Q)cd $(TOPDIR)/include/asm-um && ln -fsn ../asm-$(SUBARCH) arch
+ $(Q)cd $(TOPDIR)/include/asm-um && ln -fsn ../asm-$(HEADER_ARCH) arch
endif
$(objtree)/$(ARCH_DIR)/include:
Karol Swietlicki wrote:
> On 23/11/2007, Jeff Dike <jdike@...toit.com> wrote:
>> On Thu, Nov 22, 2007 at 07:08:47PM +0100, Miklos Szeredi wrote:
>>> Thanks. My other problem is (probably you are aware) that recent -mm
>>> kernels don't compile for UML.
>> The patch below fixes the build for rc3-mm1 for me.
>>
>> Jeff
>
> There must be something more to it. I got a clean -mm and it still
> does not build after applying the patch. It does have less problems,
> but it still won't build. I tried to get it to compile for half an
> hour, but considering the amount of sleep I got (and my experience),
> there is no surprise that I failed miserably. After fixing the
> complaint about a structure not having a 'x86' member, it died in the
> linker complaining about stuff relating to rwsem.h.
>
> Karol Swietlicki
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@...ts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists