linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: [PATCH 08/25] h8300: Use Kbuild infrastructure to handle asm-generic headers
Date: Fri, 12 Oct 2012 22:26:40 -0400	[thread overview]
Message-ID: <20121013022953.577290599@goodmis.org> (raw)
In-Reply-To: 20121013022632.024527228@goodmis.org

[-- Attachment #1: 0008-h8300-Use-Kbuild-infrastructure-to-handle-asm-generi.patch --]
[-- Type: text/plain, Size: 10460 bytes --]

From: Steven Rostedt <srostedt@redhat.com>

Use Kbuild infrastructure to handle the asm-generic headers
and remove the wrapper headers that call them.

This only affects headers that do nothing but include the generic
equivalent. It does not touch any header that does a little more.

Cc: linux-kbuild@vger.kernel.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 arch/h8300/include/asm/Kbuild              |   23 +++++++++++++++++++++++
 arch/h8300/include/asm/bitsperlong.h       |    1 -
 arch/h8300/include/asm/cputime.h           |    6 ------
 arch/h8300/include/asm/device.h            |    7 -------
 arch/h8300/include/asm/div64.h             |    1 -
 arch/h8300/include/asm/emergency-restart.h |    6 ------
 arch/h8300/include/asm/errno.h             |    6 ------
 arch/h8300/include/asm/futex.h             |    6 ------
 arch/h8300/include/asm/ioctl.h             |    1 -
 arch/h8300/include/asm/irq_regs.h          |    1 -
 arch/h8300/include/asm/kdebug.h            |    1 -
 arch/h8300/include/asm/kmap_types.h        |    6 ------
 arch/h8300/include/asm/kvm_para.h          |    1 -
 arch/h8300/include/asm/local.h             |    6 ------
 arch/h8300/include/asm/local64.h           |    1 -
 arch/h8300/include/asm/mman.h              |    1 -
 arch/h8300/include/asm/percpu.h            |    6 ------
 arch/h8300/include/asm/resource.h          |    6 ------
 arch/h8300/include/asm/scatterlist.h       |    6 ------
 arch/h8300/include/asm/sections.h          |    6 ------
 arch/h8300/include/asm/siginfo.h           |    6 ------
 arch/h8300/include/asm/statfs.h            |    6 ------
 arch/h8300/include/asm/topology.h          |    6 ------
 arch/ia64/include/asm/ipcbuf.h             |    1 -
 24 files changed, 23 insertions(+), 94 deletions(-)
 delete mode 100644 arch/h8300/include/asm/bitsperlong.h
 delete mode 100644 arch/h8300/include/asm/cputime.h
 delete mode 100644 arch/h8300/include/asm/device.h
 delete mode 100644 arch/h8300/include/asm/div64.h
 delete mode 100644 arch/h8300/include/asm/emergency-restart.h
 delete mode 100644 arch/h8300/include/asm/errno.h
 delete mode 100644 arch/h8300/include/asm/futex.h
 delete mode 100644 arch/h8300/include/asm/ioctl.h
 delete mode 100644 arch/h8300/include/asm/irq_regs.h
 delete mode 100644 arch/h8300/include/asm/kdebug.h
 delete mode 100644 arch/h8300/include/asm/kmap_types.h
 delete mode 100644 arch/h8300/include/asm/kvm_para.h
 delete mode 100644 arch/h8300/include/asm/local.h
 delete mode 100644 arch/h8300/include/asm/local64.h
 delete mode 100644 arch/h8300/include/asm/mman.h
 delete mode 100644 arch/h8300/include/asm/percpu.h
 delete mode 100644 arch/h8300/include/asm/resource.h
 delete mode 100644 arch/h8300/include/asm/scatterlist.h
 delete mode 100644 arch/h8300/include/asm/sections.h
 delete mode 100644 arch/h8300/include/asm/siginfo.h
 delete mode 100644 arch/h8300/include/asm/statfs.h
 delete mode 100644 arch/h8300/include/asm/topology.h
 delete mode 100644 arch/ia64/include/asm/ipcbuf.h

diff --git a/arch/h8300/include/asm/Kbuild b/arch/h8300/include/asm/Kbuild
index fccd81e..aa6696e 100644
--- a/arch/h8300/include/asm/Kbuild
+++ b/arch/h8300/include/asm/Kbuild
@@ -1,4 +1,27 @@
 include include/asm-generic/Kbuild.asm
 
+generic-y += bitsperlong.h
+generic-y += cputime.h
 generic-y += clkdev.h
+generic-y += device.h
+generic-y += div64.h
+generic-y += emergency-restart.h
+generic-y += errno.h
 generic-y += exec.h
+generic-y += futex.h
+generic-y += ioctl.h
+generic-y += ipcbuf.h
+generic-y += irq_regs.h
+generic-y += kdebug.h
+generic-y += kmap_types.h
+generic-y += kvm_para.h
+generic-y += local64.h
+generic-y += local.h
+generic-y += mman.h
+generic-y += percpu.h
+generic-y += resource.h
+generic-y += scatterlist.h
+generic-y += sections.h
+generic-y += siginfo.h
+generic-y += statfs.h
+generic-y += topology.h
diff --git a/arch/h8300/include/asm/bitsperlong.h b/arch/h8300/include/asm/bitsperlong.h
deleted file mode 100644
index 6dc0bb0..0000000
--- a/arch/h8300/include/asm/bitsperlong.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/bitsperlong.h>
diff --git a/arch/h8300/include/asm/cputime.h b/arch/h8300/include/asm/cputime.h
deleted file mode 100644
index 092e187..0000000
--- a/arch/h8300/include/asm/cputime.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __H8300_CPUTIME_H
-#define __H8300_CPUTIME_H
-
-#include <asm-generic/cputime.h>
-
-#endif /* __H8300_CPUTIME_H */
diff --git a/arch/h8300/include/asm/device.h b/arch/h8300/include/asm/device.h
deleted file mode 100644
index d8f9872..0000000
--- a/arch/h8300/include/asm/device.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- * Arch specific extensions to struct device
- *
- * This file is released under the GPLv2
- */
-#include <asm-generic/device.h>
-
diff --git a/arch/h8300/include/asm/div64.h b/arch/h8300/include/asm/div64.h
deleted file mode 100644
index 6cd978c..0000000
--- a/arch/h8300/include/asm/div64.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/div64.h>
diff --git a/arch/h8300/include/asm/emergency-restart.h b/arch/h8300/include/asm/emergency-restart.h
deleted file mode 100644
index 108d8c4..0000000
--- a/arch/h8300/include/asm/emergency-restart.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_EMERGENCY_RESTART_H
-#define _ASM_EMERGENCY_RESTART_H
-
-#include <asm-generic/emergency-restart.h>
-
-#endif /* _ASM_EMERGENCY_RESTART_H */
diff --git a/arch/h8300/include/asm/errno.h b/arch/h8300/include/asm/errno.h
deleted file mode 100644
index 0c2f564..0000000
--- a/arch/h8300/include/asm/errno.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_ERRNO_H
-#define _H8300_ERRNO_H
-
-#include <asm-generic/errno.h>
-
-#endif /* _H8300_ERRNO_H */
diff --git a/arch/h8300/include/asm/futex.h b/arch/h8300/include/asm/futex.h
deleted file mode 100644
index 6a332a9..0000000
--- a/arch/h8300/include/asm/futex.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_FUTEX_H
-#define _ASM_FUTEX_H
-
-#include <asm-generic/futex.h>
-
-#endif
diff --git a/arch/h8300/include/asm/ioctl.h b/arch/h8300/include/asm/ioctl.h
deleted file mode 100644
index b279fe0..0000000
--- a/arch/h8300/include/asm/ioctl.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/ioctl.h>
diff --git a/arch/h8300/include/asm/irq_regs.h b/arch/h8300/include/asm/irq_regs.h
deleted file mode 100644
index 3dd9c0b..0000000
--- a/arch/h8300/include/asm/irq_regs.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/irq_regs.h>
diff --git a/arch/h8300/include/asm/kdebug.h b/arch/h8300/include/asm/kdebug.h
deleted file mode 100644
index 6ece1b0..0000000
--- a/arch/h8300/include/asm/kdebug.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kdebug.h>
diff --git a/arch/h8300/include/asm/kmap_types.h b/arch/h8300/include/asm/kmap_types.h
deleted file mode 100644
index be12a71..0000000
--- a/arch/h8300/include/asm/kmap_types.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_H8300_KMAP_TYPES_H
-#define _ASM_H8300_KMAP_TYPES_H
-
-#include <asm-generic/kmap_types.h>
-
-#endif
diff --git a/arch/h8300/include/asm/kvm_para.h b/arch/h8300/include/asm/kvm_para.h
deleted file mode 100644
index 14fab8f..0000000
--- a/arch/h8300/include/asm/kvm_para.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kvm_para.h>
diff --git a/arch/h8300/include/asm/local.h b/arch/h8300/include/asm/local.h
deleted file mode 100644
index fdd4efe..0000000
--- a/arch/h8300/include/asm/local.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_LOCAL_H_
-#define _H8300_LOCAL_H_
-
-#include <asm-generic/local.h>
-
-#endif
diff --git a/arch/h8300/include/asm/local64.h b/arch/h8300/include/asm/local64.h
deleted file mode 100644
index 36c93b5..0000000
--- a/arch/h8300/include/asm/local64.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/local64.h>
diff --git a/arch/h8300/include/asm/mman.h b/arch/h8300/include/asm/mman.h
deleted file mode 100644
index 8eebf89..0000000
--- a/arch/h8300/include/asm/mman.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/mman.h>
diff --git a/arch/h8300/include/asm/percpu.h b/arch/h8300/include/asm/percpu.h
deleted file mode 100644
index 72c03e3..0000000
--- a/arch/h8300/include/asm/percpu.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __ARCH_H8300_PERCPU__
-#define __ARCH_H8300_PERCPU__
-
-#include <asm-generic/percpu.h>
-
-#endif /* __ARCH_H8300_PERCPU__ */
diff --git a/arch/h8300/include/asm/resource.h b/arch/h8300/include/asm/resource.h
deleted file mode 100644
index 46c5f43..0000000
--- a/arch/h8300/include/asm/resource.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_RESOURCE_H
-#define _H8300_RESOURCE_H
-
-#include <asm-generic/resource.h>
-
-#endif /* _H8300_RESOURCE_H */
diff --git a/arch/h8300/include/asm/scatterlist.h b/arch/h8300/include/asm/scatterlist.h
deleted file mode 100644
index 82130ed..0000000
--- a/arch/h8300/include/asm/scatterlist.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_SCATTERLIST_H
-#define _H8300_SCATTERLIST_H
-
-#include <asm-generic/scatterlist.h>
-
-#endif /* !(_H8300_SCATTERLIST_H) */
diff --git a/arch/h8300/include/asm/sections.h b/arch/h8300/include/asm/sections.h
deleted file mode 100644
index a81743e..0000000
--- a/arch/h8300/include/asm/sections.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_SECTIONS_H_
-#define _H8300_SECTIONS_H_
-
-#include <asm-generic/sections.h>
-
-#endif
diff --git a/arch/h8300/include/asm/siginfo.h b/arch/h8300/include/asm/siginfo.h
deleted file mode 100644
index bc8fbea..0000000
--- a/arch/h8300/include/asm/siginfo.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_SIGINFO_H
-#define _H8300_SIGINFO_H
-
-#include <asm-generic/siginfo.h>
-
-#endif
diff --git a/arch/h8300/include/asm/statfs.h b/arch/h8300/include/asm/statfs.h
deleted file mode 100644
index b96efa7..0000000
--- a/arch/h8300/include/asm/statfs.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _H8300_STATFS_H
-#define _H8300_STATFS_H
-
-#include <asm-generic/statfs.h>
-
-#endif /* _H8300_STATFS_H */
diff --git a/arch/h8300/include/asm/topology.h b/arch/h8300/include/asm/topology.h
deleted file mode 100644
index fdc1219..0000000
--- a/arch/h8300/include/asm/topology.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_H8300_TOPOLOGY_H
-#define _ASM_H8300_TOPOLOGY_H
-
-#include <asm-generic/topology.h>
-
-#endif /* _ASM_H8300_TOPOLOGY_H */
diff --git a/arch/ia64/include/asm/ipcbuf.h b/arch/ia64/include/asm/ipcbuf.h
deleted file mode 100644
index 84c7e51..0000000
--- a/arch/ia64/include/asm/ipcbuf.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/ipcbuf.h>
-- 
1.7.10.4

  parent reply	other threads:[~2012-10-13  2:26 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13  2:26 [PATCH 00/25] asm-generic: Convert all to use Kbuild file Steven Rostedt
2012-10-13  2:26 ` [PATCH 01/25] alpha: Use Kbuild infrastructure to handle asm-generic headers Steven Rostedt
2012-10-13  2:26 ` [PATCH 02/25] arm: " Steven Rostedt
2012-10-13  2:26 ` [PATCH 03/25] avr32: " Steven Rostedt
2013-09-01 20:55   ` Hans-Christian Egtvedt
2013-09-04 15:44     ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  4:12   ` Mike Frysinger
2012-10-13 13:54     ` Steven Rostedt
2012-10-13 14:53       ` Bob Liu
2012-10-13  2:26 ` [PATCH 05/25] c6x: " Steven Rostedt
2012-10-13  2:26 ` [PATCH 06/25] cris: Use Kbuild infrastructure to handle asm-generic headers Steven Rostedt
2012-10-13  2:26 ` [PATCH 07/25] frv: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` Steven Rostedt [this message]
2012-10-13  2:26   ` [PATCH 08/25] h8300: " Steven Rostedt
2012-10-13  2:26 ` [PATCH 09/25] hexagon: Use Kbuild infrastructure for kvm_para.h Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 10/25] ia64: Use Kbuild infrastructure to handle asm-generic headers Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 11/25] m32r: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 12/25] microblaze: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 13/25] mips: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2013-09-02  8:55   ` James Hogan
2013-09-02  8:55     ` James Hogan
2013-09-04 15:43     ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 14/25] mn10300: " Steven Rostedt
2012-10-13  2:26 ` [PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  6:32   ` Jonas Bonn
2012-10-13  6:32     ` Jonas Bonn
2012-10-13 13:55     ` Steven Rostedt
2012-10-14 10:36       ` Jonas Bonn
2012-10-13  2:26 ` [PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers Steven Rostedt
2012-10-13 12:36   ` James Bottomley
2012-10-13 14:17     ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 17/25] powerpc: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 18/25] s390: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 19/25] score: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 20/25] sparc: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  3:19   ` David Miller
2012-10-13  3:19     ` David Miller
2012-10-13 13:54     ` Steven Rostedt
2012-10-13 21:54       ` David Miller
2012-10-13 22:00         ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 21/25] tile: Use Kbuild infrastructure for kvm_para.h Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-14 17:11   ` Chris Metcalf
2012-10-13  2:26 ` [PATCH 22/25] um: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-14 10:57   ` richard -rw- weinberger
2012-10-13  2:26 ` [PATCH 23/25] unicore32: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13 12:27   ` guanxuetao
2012-10-13 14:03     ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 24/25] x86: Use Kbuild infrastructure to handle asm-generic headers Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-13  2:26 ` [PATCH 25/25] xtensa: " Steven Rostedt
2012-10-13  2:26   ` Steven Rostedt
2012-10-16  5:14   ` Max Filippov
2012-10-16  5:14     ` Max Filippov
2012-10-13  9:09 ` [PATCH 00/25] asm-generic: Convert all to use Kbuild file Arnd Bergmann
2012-10-13 14:24   ` Steven Rostedt
2012-10-13 14:24     ` Steven Rostedt
2012-10-13 10:17 ` Catalin Marinas
2012-10-13 10:17   ` Catalin Marinas
2012-10-13 14:20   ` Steven Rostedt

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=20121013022953.577290599@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /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).