Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rob Landley <rob@...>
Cc: <linux-kernel@...>, uml-devel <user-mode-linux-devel@...>, <sparclinux@...>
Date: Wednesday, October 24, 2007 - 8:43 pm

On Wed, Oct 24, 2007 at 04:46:54PM -0500, Rob Landley wrote:

Thanks - I already got Dan Kegel's crosstools, and they did the trick.

What I'd like to do is have linux/swap.h include linux/pagemap.h, but
there's this scary comment about that not working on sparc.

When I fix this bug "correctly", sparc expodes into a mess of
interconnected headers which seem to boil down to sparc including
swap.h in pgtable.h when no one else does.

The thing is, sparc looks like it's doing things more correctly than
anyone else.  asm/pgtable.h (i386 and UML, and probably everyone
else except sparc) refers to swp_entry_t, which is defined in
linux/swap.h, without including swap.h and that's somehow OK.

So, from a quick look, it seems like this is a case of our headers
being too interconnected and sparc had to opt out in order to do
things more correctly.

				Jeff

-- 
Work email - jdike at linux dot intel dot com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
User Mode Linux still doesn't build in 2.6.23-final., Rob Landley, (Thu Oct 11, 6:54 pm)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeff Dike, (Wed Oct 24, 8:43 pm)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeremy Fitzhardinge, (Mon Oct 22, 7:14 pm)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeremy Fitzhardinge, (Mon Oct 22, 7:56 pm)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeremy Fitzhardinge, (Tue Oct 23, 10:20 am)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeremy Fitzhardinge, (Tue Oct 23, 10:31 am)
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.2..., Jeremy Fitzhardinge, (Mon Oct 22, 7:26 pm)