Re: [uml-devel] [ PATCH 4/7 ] UML - create as-layout.h

2007-03-22 Thread Blaisorblade
On Thursday 22 March 2007 17:06, Jeff Dike wrote: > This patch moves all the the symbols defined in um_arch.c, which are > mostly boundaries between different parts of the UML kernel address > space, to a new header, as-layout.h. There are also a few things here > which aren't really related to ad

[uml-devel] Odpowiedz automatyczna

2007-03-22 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techs

Re: [uml-devel] [ PATCH 0/7 ] UML - Header cleanup

2007-03-22 Thread Jeff Dike
On Thu, Mar 22, 2007 at 09:50:34AM -0800, Andrew Morton wrote: > I have the ARRAY_SIZE change queued for 2.6.22. > > It looks like the UML change needs to be folded into the same changeset to > avoid build breaks? Yes, that would be great. Jeff -- Work email - jdike at

Re: [uml-devel] [ PATCH 0/7 ] UML - Header cleanup

2007-03-22 Thread Andrew Morton
On Thu, 22 Mar 2007 12:06:40 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > These are post-2.6.21 material, except that if the new definition of > ARRAY_SIZE goes to Linus, patch 1 in this series should go as well. I have the ARRAY_SIZE change queued for 2.6.22. It looks like the UML change needs

[uml-devel] Odpowiedz automatyczna

2007-03-22 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techs

[uml-devel] Odpowiedz automatyczna

2007-03-22 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techs

[uml-devel] Odpowiedz automatyczna

2007-03-22 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techs

[uml-devel] [ PATCH 0/7 ] UML - Header cleanup

2007-03-22 Thread Jeff Dike
These are post-2.6.21 material, except that if the new definition of ARRAY_SIZE goes to Linus, patch 1 in this series should go as well. These patches are a response to the new ARRAY_SIZE. UML had a duplicate definition for the use of the userspace side of things, which can't directly use kernel.

[uml-devel] [ PATCH 6/7 ] UML - Remove user_util.h

2007-03-22 Thread Jeff Dike
user_util.h isn't needed any more, so delete it and remove all includes of it. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/drivers/chan_kern.c |1 arch/um/drivers/chan_user.c |1 arch/um/drivers/cow_sys.h|1 arch/um/drivers/daem

[uml-devel] [ PATCH 5/7 ] UML - Move remaining useful contents of user_util.h

2007-03-22 Thread Jeff Dike
Rescue the useful contents of the soon-to-be-gone user-util.h. pty.c now gets ptsname from stdlib.h like it should have always done. CATCH_EINTR is now in os.h, although perhaps all usage should be under os-Linux at some point. get_pty is also in os.h. This patch restores the old definition of

[uml-devel] [ PATCH 7/7 ] UML - Add missing __init declarations

2007-03-22 Thread Jeff Dike
The build started finding calls from non-init to init functions. These are just cases of init functions not being properly marked, so this patch fixes that. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/kernel/mem.c|2 +- arch/um/os-Linux/main.c |2 +- arch/um/os-Lin

[uml-devel] [ PATCH 2/7 ] UML - Move SIGIO testing to sigio.c

2007-03-22 Thread Jeff Dike
This patch narrows the sigio interface. The boot-time SIGIO testing used to be in start_up.c, which meant that pty_output_sigio and pty_close_sigio needed to be global. By moving that code here, those can become static and the declarations moved from user_util.h. os_check_bugs is also here becau

[uml-devel] [ PATCH 4/7 ] UML - create as-layout.h

2007-03-22 Thread Jeff Dike
This patch moves all the the symbols defined in um_arch.c, which are mostly boundaries between different parts of the UML kernel address space, to a new header, as-layout.h. There are also a few things here which aren't really related to address space layout, but which don't really have a better p

[uml-devel] [ PATCH 3/7 ] UML - Create arch.h

2007-03-22 Thread Jeff Dike
This patch moves the declarations of the architecture hooks from user_util.h to a new header, arch.c, and adds the necessary includes to files which need those declarations. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/include/arch.h | 15 +++ arch/um/include/user_ut

[uml-devel] [ PATCH 1/7 ] UML - Update UML definition of ARRAY_SIZE

2007-03-22 Thread Jeff Dike
This is the minimal change needed to keep UML building with the new definition of ARRAY_SIZE. It is defined in user_util.h so that userspace files, which can't include kernel.h, can still use ARRAY_SIZE. However, since user_util.h is included everywhere, including kernel files, the token sequence