mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Russell King <linux@arm.linux.org.uk>, linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 0/8] arm: use generic header files where possible
Date: Wed,  6 Oct 2010 20:06:12 +0200	[thread overview]
Message-ID: <1286388380-20646-1-git-send-email-arnd@arndb.de> (raw)

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(-)

             reply	other threads:[~2010-10-06 18:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 18:06 Arnd Bergmann [this message]
2010-10-06 18:06 ` [PATCH 1/8] arm: generalize IPC header files Arnd Bergmann
2010-10-06 18:06 ` [PATCH 2/8] arm: trivial changes to make headers more generic Arnd Bergmann
2010-10-06 18:06 ` [PATCH 3/8] arm: remove unused asm/segment.h contents Arnd Bergmann
2010-10-06 18:06 ` [PATCH 4/8] arm: make asm/ioctls.h mostly generic Arnd Bergmann
2010-10-06 18:06 ` [PATCH 5/8] arm: generalize asm/posix_types.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 6/8] arm: generalize asm/signal.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 7/8] arm: generalize asm/termios.h Arnd Bergmann
2010-10-06 18:06 ` [PATCH 8/8] arm: remove generic asm header file contents Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1286388380-20646-1-git-send-email-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®