Skip to content

x86: use asm-generic headers where possible

Arnd Bergmann lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/25 patches 6 repliesIn review
  2. v1 posting 1/25 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: add copies of some headers to convert to asm-genericarch/x86/include/asm/generic-mman.h arch/x86/include/asm/generic-module.h arch/x86/include/asm/generic-scatterlist.h +2 more+181 -00 replies
2/5x86: convert trivial headers to asm-generic versionarch/x86/include/asm/ioctls.h arch/x86/include/asm/ipcbuf.h arch/x86/include/asm/msgbuf.h +5 more+92 -530 replies
3/5x86: convert almost generic headers to asm-generic versionarch/x86/include/asm/generic-mman.h arch/x86/include/asm/generic-module.h arch/x86/include/asm/generic-scatterlist.h +7 more+101 -2070 replies
4/5x86: convert termios.h to the asm-generic versionarch/x86/include/asm/termios.h+63 -230 replies
5/5x86: remove all now-duplicate header filesarch/x86/include/asm/generic-mman.h arch/x86/include/asm/generic-module.h arch/x86/include/asm/generic-scatterlist.h +16 more+14 -8400 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/5, resend] x86: use asm-generic headers where possible

I did not get any feedback on this the last time I sent it, but now these patches actually apply to the mainline kernel so it's possible to apply them.

I've split the series up into five patches for easier review. Each step should show clearly that no semantic changes are introduced, with the exception of termios.h, which was discussed earlier.

I have also checked that the resulting object code is the same, again with the exception of termios.h, because that fixes a small bug.

Arnd Bergmann (5):
x86: add copies of some headers to convert to asm-generic
x86: convert trivial headers to asm-generic version
x86: convert almost generic headers to asm-generic version
x86: convert termios.h to the asm-generic version
x86: remove all now-duplicate header files

 arch/x86/include/asm/ioctls.h      |   95 +-----------------
 arch/x86/include/asm/ipcbuf.h      |   29 +-----
 arch/x86/include/asm/mman.h        |   28 ++----
 arch/x86/include/asm/module.h      |   13 +--
 arch/x86/include/asm/msgbuf.h      |   40 +-------
 arch/x86/include/asm/param.h       |   23 +----
 arch/x86/include/asm/scatterlist.h |   41 ++------
 arch/x86/include/asm/shmbuf.h      |   52 +---------
 arch/x86/include/asm/socket.h      |   61 +-----------
 arch/x86/include/asm/sockios.h     |   14 +---
 arch/x86/include/asm/termbits.h    |  199 +-----------------------------------
 arch/x86/include/asm/termios.h     |  115 +--------------------
 arch/x86/include/asm/types.h       |   12 +--
 arch/x86/include/asm/ucontext.h    |    8 +--
 14 files changed, 29 insertions(+), 701 deletions(-)

rewrite arch/x86/include/asm/ioctls.h (100%)
rewrite arch/x86/include/asm/ipcbuf.h (100%)
rewrite arch/x86/include/asm/mman.h (82%)
rewrite arch/x86/include/asm/msgbuf.h (100%)
rewrite arch/x86/include/asm/param.h (100%)
rewrite arch/x86/include/asm/scatterlist.h (82%)
rewrite arch/x86/include/asm/shmbuf.h (100%)
rewrite arch/x86/include/asm/socket.h (100%)
rewrite arch/x86/include/asm/termbits.h (100%)
rewrite arch/x86/include/asm/termios.h (100%)