public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Remis Lima Baima <remis.developer@googlemail.com>
To: linux-kbuild@vger.kernel.org
Cc: Remis Lima Baima <remis.developer@googlemail.com>
Subject: [PATCH 3/3] Apply generic headers for PPC
Date: Thu, 12 Mar 2009 14:43:08 +0100	[thread overview]
Message-ID: <1236865388-31590-4-git-send-email-remis.developer@googlemail.com> (raw)
In-Reply-To: <1236865388-31590-3-git-send-email-remis.developer@googlemail.com>

This patch depends on patch d8b392b37469f570bd180f37be783367259f1d4b
("Create the infrastructure for generic headers").

Remove the dummy arch/powerpc/include/asm/XXX.h files.

Add in the arch/powerpc/include/asm/Kbuild file the variable generic-y
with the names of the removed arch/powerpc/include/asm/XXX.h files.

The removed files will be automatically generated during the build
process by the script scripts/Makefile.genericheaders.

Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
---
 arch/powerpc/include/asm/Kbuild              |    8 ++++++++
 arch/powerpc/include/asm/div64.h             |    1 -
 arch/powerpc/include/asm/emergency-restart.h |    1 -
 arch/powerpc/include/asm/irq_regs.h          |    2 --
 arch/powerpc/include/asm/poll.h              |    1 -
 arch/powerpc/include/asm/resource.h          |    1 -
 arch/powerpc/include/asm/statfs.h            |    6 ------
 arch/powerpc/include/asm/xor.h               |    1 -
 8 files changed, 8 insertions(+), 13 deletions(-)
 delete mode 100644 arch/powerpc/include/asm/div64.h
 delete mode 100644 arch/powerpc/include/asm/emergency-restart.h
 delete mode 100644 arch/powerpc/include/asm/irq_regs.h
 delete mode 100644 arch/powerpc/include/asm/poll.h
 delete mode 100644 arch/powerpc/include/asm/resource.h
 delete mode 100644 arch/powerpc/include/asm/statfs.h
 delete mode 100644 arch/powerpc/include/asm/xor.h

diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild
index 5ab7d7f..8eea68e 100644
--- a/arch/powerpc/include/asm/Kbuild
+++ b/arch/powerpc/include/asm/Kbuild
@@ -35,3 +35,11 @@ unifdef-y += spu_info.h
 unifdef-y += termios.h
 unifdef-y += types.h
 unifdef-y += unistd.h
+
+generic-y += div64.h
+generic-y += emergency-restart.h
+generic-y += irq_regs.h
+generic-y += poll.h
+generic-y += resource.h
+generic-y += statfs.h
+generic-y += xor.h
diff --git a/arch/powerpc/include/asm/div64.h b/arch/powerpc/include/asm/div64.h
deleted file mode 100644
index 6cd978c..0000000
--- a/arch/powerpc/include/asm/div64.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/div64.h>
diff --git a/arch/powerpc/include/asm/emergency-restart.h b/arch/powerpc/include/asm/emergency-restart.h
deleted file mode 100644
index 3711bd9..0000000
--- a/arch/powerpc/include/asm/emergency-restart.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/emergency-restart.h>
diff --git a/arch/powerpc/include/asm/irq_regs.h b/arch/powerpc/include/asm/irq_regs.h
deleted file mode 100644
index ba94b51..0000000
--- a/arch/powerpc/include/asm/irq_regs.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <asm-generic/irq_regs.h>
-
diff --git a/arch/powerpc/include/asm/poll.h b/arch/powerpc/include/asm/poll.h
deleted file mode 100644
index c98509d..0000000
--- a/arch/powerpc/include/asm/poll.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/poll.h>
diff --git a/arch/powerpc/include/asm/resource.h b/arch/powerpc/include/asm/resource.h
deleted file mode 100644
index 04bc4db..0000000
--- a/arch/powerpc/include/asm/resource.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/resource.h>
diff --git a/arch/powerpc/include/asm/statfs.h b/arch/powerpc/include/asm/statfs.h
deleted file mode 100644
index 5244834..0000000
--- a/arch/powerpc/include/asm/statfs.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_POWERPC_STATFS_H
-#define _ASM_POWERPC_STATFS_H
-
-#include <asm-generic/statfs.h>
-
-#endif
diff --git a/arch/powerpc/include/asm/xor.h b/arch/powerpc/include/asm/xor.h
deleted file mode 100644
index c82eb12..0000000
--- a/arch/powerpc/include/asm/xor.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/xor.h>
-- 
1.5.6.3


  reply	other threads:[~2009-03-12 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 13:43 [PATCH 0/3] Generic headers implementation Remis Lima Baima
2009-03-12 13:43 ` [PATCH 1/3] Create the infrastructure for generic headers Remis Lima Baima
2009-03-12 13:43   ` [PATCH 2/3] Apply generic headers for x86 Remis Lima Baima
2009-03-12 13:43     ` Remis Lima Baima [this message]
2009-03-12 15:31 ` [PATCH 0/3] Generic headers implementation Sam Ravnborg
2009-03-13 21:50   ` Remis Lima Baima
2009-03-18 17:08   ` [PATCH 0/2] New generic " Remis Lima Baima
     [not found]     ` <1237396115-28674-2-git-send-email-remis.developer@googlemail.com>
2009-03-18 17:08       ` [PATCH 2/2] Apply generic headers for x86 Remis Lima Baima
2009-03-20 16:31       ` [PATCH] Create the infrastructure for generic headers-UPDATE Remis Lima Baima

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=1236865388-31590-4-git-send-email-remis.developer@googlemail.com \
    --to=remis.developer@googlemail.com \
    --cc=linux-kbuild@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