The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PROBLEM] uml doesn't compile on i386
@ 2007-11-23  8:52 Pekka Enberg
  2007-11-23 10:13 ` WANG Cong
  0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2007-11-23  8:52 UTC (permalink / raw)
  To: Jeff Dike, Blaisorblade, Linux Kernel Mailing List

Hi,

Current git head doesn't compile. Looks like fall-out from the x86 merge?

penberg@haji:~/src/linux/uml-2.6$ make ARCH=um
  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
  CHK     arch/um/include/user_constants.h
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  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:237: 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'
make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

                                      Pekka

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

* Re: [PROBLEM] uml doesn't compile on i386
  2007-11-23  8:52 [PROBLEM] uml doesn't compile on i386 Pekka Enberg
@ 2007-11-23 10:13 ` WANG Cong
  2007-11-23 10:32   ` Pekka Enberg
  0 siblings, 1 reply; 3+ messages in thread
From: WANG Cong @ 2007-11-23 10:13 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Jeff Dike, Blaisorblade, Linux Kernel Mailing List

On Fri, Nov 23, 2007 at 10:52:06AM +0200, Pekka Enberg wrote:
>Hi,
>
>Current git head doesn't compile. Looks like fall-out from the x86 merge?
>
>penberg@haji:~/src/linux/uml-2.6$ make ARCH=um
>  SYMLINK arch/um/include/kern_constants.h
>  SYMLINK arch/um/include/sysdep
>make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
>  CHK     arch/um/include/user_constants.h
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>  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:237: 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'
>make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
>make: *** [prepare0] Error 2

Hmm, I believe this patch[1] from Jeff can solve the problem. ;-)

[1] http://lkml.org/lkml/2007/11/19/220



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

* Re: [PROBLEM] uml doesn't compile on i386
  2007-11-23 10:13 ` WANG Cong
@ 2007-11-23 10:32   ` Pekka Enberg
  0 siblings, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2007-11-23 10:32 UTC (permalink / raw)
  To: WANG Cong; +Cc: Jeff Dike, Blaisorblade, Linux Kernel Mailing List

Hi,

On Fri, Nov 23, 2007 at 10:52:06AM +0200, Pekka Enberg wrote:
> > Current git head doesn't compile. Looks like fall-out from the x86 merge?

On Nov 23, 2007 12:13 PM, WANG Cong <xiyou.wangcong@gmail.com> wrote:
> Hmm, I believe this patch[1] from Jeff can solve the problem. ;-)
>
> [1] http://lkml.org/lkml/2007/11/19/220

Thanks! Jeff, can we get this into mainline, please?

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

end of thread, other threads:[~2007-11-23 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23  8:52 [PROBLEM] uml doesn't compile on i386 Pekka Enberg
2007-11-23 10:13 ` WANG Cong
2007-11-23 10:32   ` Pekka Enberg

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