linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: David Howells <dhowells@redhat.com>
Subject: [PATCH 0/4] uapi: Allow automatic generation of trivial headers
Date: Thu, 11 Oct 2012 17:18:01 +0100	[thread overview]
Message-ID: <1349972285-22830-1-git-send-email-catalin.marinas@arm.com> (raw)

Hi,

The asm/Kbuild allows automatic generation of header files by specifying
"generic-y += ...". The first patch in the series allows the same thing
to be specified in uapi/asm/Kbuild.

The subsequent patches remove some of the trivial header files in arm64,
s390 and sparc. Please note that the series has only been tested on
arm64. I can test the others but not until tomorrow.


Catalin Marinas (4):
  uapi: Allow automatic generation of uapi/asm/ header files
  arm64: Automatically generate UAPI stat.h and unistd.h headers
  s390: Automatically generate trivial UAPI headers
  sparc: Automatically generate trivial UAPI headers

 Makefile                               |  4 +++-
 arch/arm64/include/uapi/asm/Kbuild     |  5 +++--
 arch/arm64/include/uapi/asm/stat.h     | 16 ----------------
 arch/arm64/include/uapi/asm/unistd.h   | 16 ----------------
 arch/s390/include/uapi/asm/Kbuild      | 19 ++++++++++---------
 arch/s390/include/uapi/asm/errno.h     | 11 -----------
 arch/s390/include/uapi/asm/fcntl.h     |  1 -
 arch/s390/include/uapi/asm/ioctl.h     |  1 -
 arch/s390/include/uapi/asm/mman.h      |  6 ------
 arch/s390/include/uapi/asm/param.h     |  6 ------
 arch/s390/include/uapi/asm/poll.h      |  1 -
 arch/s390/include/uapi/asm/resource.h  | 13 -------------
 arch/s390/include/uapi/asm/sockios.h   |  6 ------
 arch/s390/include/uapi/asm/termbits.h  |  6 ------
 arch/sparc/include/uapi/asm/Kbuild     |  5 +++--
 arch/sparc/include/uapi/asm/kvm_para.h |  1 -
 arch/sparc/include/uapi/asm/statfs.h   |  6 ------
 scripts/Makefile.asm-generic           |  2 +-
 18 files changed, 20 insertions(+), 105 deletions(-)
 delete mode 100644 arch/arm64/include/uapi/asm/stat.h
 delete mode 100644 arch/arm64/include/uapi/asm/unistd.h
 delete mode 100644 arch/s390/include/uapi/asm/errno.h
 delete mode 100644 arch/s390/include/uapi/asm/fcntl.h
 delete mode 100644 arch/s390/include/uapi/asm/ioctl.h
 delete mode 100644 arch/s390/include/uapi/asm/mman.h
 delete mode 100644 arch/s390/include/uapi/asm/param.h
 delete mode 100644 arch/s390/include/uapi/asm/poll.h
 delete mode 100644 arch/s390/include/uapi/asm/resource.h
 delete mode 100644 arch/s390/include/uapi/asm/sockios.h
 delete mode 100644 arch/s390/include/uapi/asm/termbits.h
 delete mode 100644 arch/sparc/include/uapi/asm/kvm_para.h
 delete mode 100644 arch/sparc/include/uapi/asm/statfs.h

             reply	other threads:[~2012-10-11 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 16:18 Catalin Marinas [this message]
2012-10-11 16:18 ` [PATCH 1/4] uapi: Allow automatic generation of uapi/asm/ header files Catalin Marinas
2012-10-11 16:18   ` Catalin Marinas
2012-10-11 16:18 ` [PATCH 2/4] arm64: Automatically generate UAPI stat.h and unistd.h headers Catalin Marinas
2012-10-11 16:18 ` [PATCH 3/4] s390: Automatically generate trivial UAPI headers Catalin Marinas
2012-10-11 16:18   ` Catalin Marinas
2012-10-11 16:18 ` [PATCH 4/4] sparc: " Catalin Marinas
2012-10-11 19:13   ` David Miller
2012-10-11 16:46 ` [PATCH 0/4] uapi: Allow automatic generation of trivial headers David Howells
2012-10-11 16:52   ` Catalin Marinas

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=1349972285-22830-1-git-send-email-catalin.marinas@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=dhowells@redhat.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).