Skip to content

arm: use generic header files where possible

Arnd Bergmann lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8arm: generalize IPC header filesarch/arm/include/asm/ipcbuf.h arch/arm/include/asm/msgbuf.h arch/arm/include/asm/sembuf.h +1 more+67 -160 replies
2/8arm: trivial changes to make headers more genericarch/arm/include/asm/param.h arch/arm/include/asm/parport.h arch/arm/include/asm/serial.h +5 more+79 -340 replies
3/8arm: remove unused asm/segment.h contentsarch/arm/include/asm/segment.h+5 -70 replies
4/8arm: make asm/ioctls.h mostly genericarch/arm/include/asm/ioctls.h+26 -130 replies
5/8arm: generalize asm/posix_types.harch/arm/include/asm/posix_types.h+172 -350 replies
6/8arm: generalize asm/signal.harch/arm/include/asm/signal.h+56 -630 replies
7/8arm: generalize asm/termios.harch/arm/include/asm/termios.h+99 -370 replies
8/8arm: remove generic asm header file contentsarch/arm/include/asm/ioctls.h arch/arm/include/asm/ipcbuf.h arch/arm/include/asm/msgbuf.h +14 more+17 -11530 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/8] arm: use generic header files where possible

Many header files in the arm architecture already use the common asm-generic implementation, but I found a number that don't yet.

A signficant amount of code can be saved by either directly falling back to the common implementation, where it has no effect on compilation, or by using a combination of the common file with arm-specific additions in the other cases.

In order to make this more appropriate for both review and bisection in case of problems, I first change the headers to be identical to the common version, aside from the introductory copyright statement and include guard, and in the second step replace the common parts with an #include.

Arnd Bergmann (8):
arm: generalize IPC header files
arm: trivial changes to make headers more generic
arm: remove unused asm/segment.h contents
arm: make asm/ioctls.h mostly generic
arm: generalize asm/posix_types.h
arm: generalize asm/signal.h
arm: generalize asm/termios.h
arm: remove generic asm header file contents

 arch/arm/include/asm/ioctls.h      |   84 +---------------
 arch/arm/include/asm/ipcbuf.h      |   30 +-----
 arch/arm/include/asm/msgbuf.h      |   32 +------
 arch/arm/include/asm/param.h       |   32 +------
 arch/arm/include/asm/parport.h     |   19 +----
 arch/arm/include/asm/posix_types.h |   68 ++++--------
 arch/arm/include/asm/segment.h     |   12 +--
 arch/arm/include/asm/sembuf.h      |   26 +-----
 arch/arm/include/asm/serial.h      |   20 +----
 arch/arm/include/asm/shmbuf.h      |   43 +--------
 arch/arm/include/asm/signal.h      |  147 +-------------------------
 arch/arm/include/asm/socket.h      |   66 +------------
 arch/arm/include/asm/sockios.h     |   14 +---
 arch/arm/include/asm/termbits.h    |  199 +-----------------------------------
 arch/arm/include/asm/termios.h     |   93 +-----------------
 arch/arm/include/asm/timex.h       |    8 +--
 arch/arm/include/asm/types.h       |   32 +------
 17 files changed, 44 insertions(+), 881 deletions(-)