Skip to content

UML - Header cleanup

Jeff Dike linux-um lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7UML - Update UML definition of ARRAY_SIZEarch/um/include/user_util.h+13 -20 replies
2/7UML - Move SIGIO testing to sigio.carch/um/include/user_util.h arch/um/os-Linux/sigio.c arch/um/os-Linux/start_up.c+145 -1480 replies
3/7UML - Create arch.harch/um/include/arch.h arch/um/include/user_util.h arch/um/kernel/trap.c +1 more+17 -40 replies
4/7UML - create as-layout.harch/um/include/as-layout.h arch/um/include/user_util.h arch/um/kernel/exec.c +10 more+46 -232 replies
5/7UML - Move remaining useful contents of user_util.harch/um/drivers/pty.c arch/um/include/os.h arch/um/include/user.h +2 more+16 -290 replies
6/7UML - Remove user_util.harch/um/drivers/chan_kern.c arch/um/drivers/chan_user.c arch/um/drivers/cow_sys.h +77 more+0 -1080 replies
7/7UML - Add missing __init declarationsarch/um/kernel/mem.c arch/um/os-Linux/main.c arch/um/os-Linux/mem.c +2 more+12 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ PATCH 0/7 ] UML - Header cleanup

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.h. This header was included everywhere, and had a random collection of stuff in it.

This series first gets UML building again by replacing the old ARRAY_SIZE definition with one that expands to the same token sequence. Then user_util.h is dismantled, primarily into two, more coherent headers, and deleted. ARRAY_SIZE is reintroduced, but in a header which is only included in userspace files, and in its old form, so this version is lacking the extra typechecking.

The final patch in the series is unrelated to the rest - it adds __init declarations to some functions which were lacking them.

Jeff

Signature · 11 lines
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
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.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel