[PATCH 0/3] Use more asm-generic headers

Rob Herring robherring2 at gmail.com
Sun Jul 15 23:53:53 EDT 2012


From: Rob Herring <rob.herring at calxeda.com>

Inspired by the AArgh64 claim that it should be separate from ARM and one
reason was being able to use more asm-generic headers. Doing a diff of
arch/arm/include/asm and include/asm-generic there are numerous asm
headers which are functionally identical to their asm-generic counterparts
and others which can use more of the generic versions.

Rob

Rob Herring (3):
  ARM: use generic version of identical asm headers
  ARM: use asm-generic version of kmap_types.h
  ARM: convert asm/irqflags.h to use asm-generic/irqflags.h

 arch/arm/include/asm/Kbuild       |   18 ++++
 arch/arm/include/asm/current.h    |   15 ---
 arch/arm/include/asm/exec.h       |    6 --
 arch/arm/include/asm/ipcbuf.h     |    1 -
 arch/arm/include/asm/irqflags.h   |  131 +++++++++---------------
 arch/arm/include/asm/kmap_types.h |   33 -------
 arch/arm/include/asm/msgbuf.h     |   31 ------
 arch/arm/include/asm/param.h      |   31 ------
 arch/arm/include/asm/parport.h    |   18 ----
 arch/arm/include/asm/segment.h    |   11 ---
 arch/arm/include/asm/sembuf.h     |   25 -----
 arch/arm/include/asm/serial.h     |   19 ----
 arch/arm/include/asm/shmbuf.h     |   42 --------
 arch/arm/include/asm/socket.h     |   72 --------------
 arch/arm/include/asm/sockios.h    |   13 ---
 arch/arm/include/asm/termbits.h   |  198 -------------------------------------
 arch/arm/include/asm/termios.h    |   92 -----------------
 arch/arm/include/asm/timex.h      |    8 +-
 arch/arm/include/asm/types.h      |   16 ---
 arch/arm/include/asm/unaligned.h  |   19 ----
 20 files changed, 64 insertions(+), 735 deletions(-)
 delete mode 100644 arch/arm/include/asm/current.h
 delete mode 100644 arch/arm/include/asm/exec.h
 delete mode 100644 arch/arm/include/asm/ipcbuf.h
 delete mode 100644 arch/arm/include/asm/kmap_types.h
 delete mode 100644 arch/arm/include/asm/msgbuf.h
 delete mode 100644 arch/arm/include/asm/param.h
 delete mode 100644 arch/arm/include/asm/parport.h
 delete mode 100644 arch/arm/include/asm/segment.h
 delete mode 100644 arch/arm/include/asm/sembuf.h
 delete mode 100644 arch/arm/include/asm/serial.h
 delete mode 100644 arch/arm/include/asm/shmbuf.h
 delete mode 100644 arch/arm/include/asm/socket.h
 delete mode 100644 arch/arm/include/asm/sockios.h
 delete mode 100644 arch/arm/include/asm/termbits.h
 delete mode 100644 arch/arm/include/asm/termios.h
 delete mode 100644 arch/arm/include/asm/types.h
 delete mode 100644 arch/arm/include/asm/unaligned.h

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list