Re: uml doesn't work on 2.6.24-rc2

From: Miklos Szeredi
Date: Fri Nov 23 2007 - 03:59:34 EST


> 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.

Yeah, I got as far as that (sorry about the incomplete report), but
then I got stuck on this:

CC arch/um/kernel/asm-offsets.s
In file included from include/asm/arch/atomic.h:2,
from include/asm/atomic.h:9,
from include/linux/spinlock.h:333,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:53,
from arch/um/include/sysdep/kernel-offsets.h:2,
from arch/um/kernel/asm-offsets.c:1:
include/asm/arch/atomic_32.h: In function âatomic_add_unlessâ:
include/asm/arch/atomic_32.h:241: error: âstruct cpuinfo_umâ has no member named âx86â
In file included from include/asm/rwsem.h:4,
from include/linux/rwsem.h:24,
from include/linux/mm_types.h:11,
from include/linux/sched.h:60,
from arch/um/include/sysdep/kernel-offsets.h:2,
from arch/um/kernel/asm-offsets.c:1:
include/asm/arch/rwsem.h: In function â__down_write_trylockâ:
include/asm/arch/rwsem.h:165: error: âstruct cpuinfo_umâ has no member named âx86â

Same config I sent previously.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/