From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: [RFC PATCH v2 02/14] powerpc: remove unneeded inclusions of cpu_has_feature.h
Date: Fri, 1 Jun 2018 15:49:29 +0000 (UTC) [thread overview]
Message-ID: <98274e41dd699bcdc3f82f6bd5d1f4016a2a0812.1527868006.git.christophe.leroy@c-s.fr> (raw)
In-Reply-To: <cover.1527868006.git.christophe.leroy@c-s.fr>
Files not using cpu_has_feature() don't need cpu_has_feature.h
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
---
arch/powerpc/include/asm/cacheflush.h | 1 -
arch/powerpc/include/asm/cputime.h | 1 -
arch/powerpc/include/asm/dbell.h | 1 -
arch/powerpc/kernel/vdso.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/arch/powerpc/include/asm/cacheflush.h b/arch/powerpc/include/asm/cacheflush.h
index 11843e37d9cf..cfe3a98349c4 100644
--- a/arch/powerpc/include/asm/cacheflush.h
+++ b/arch/powerpc/include/asm/cacheflush.h
@@ -11,7 +11,6 @@
#include <linux/mm.h>
#include <asm/cputable.h>
-#include <asm/cpu_has_feature.h>
/*
* No cache flushing is required when address mappings are changed,
diff --git a/arch/powerpc/include/asm/cputime.h b/arch/powerpc/include/asm/cputime.h
index 99b541865d8d..d78fee0cdbf0 100644
--- a/arch/powerpc/include/asm/cputime.h
+++ b/arch/powerpc/include/asm/cputime.h
@@ -23,7 +23,6 @@
#include <asm/div64.h>
#include <asm/time.h>
#include <asm/param.h>
-#include <asm/cpu_has_feature.h>
typedef u64 __nocast cputime_t;
typedef u64 __nocast cputime64_t;
diff --git a/arch/powerpc/include/asm/dbell.h b/arch/powerpc/include/asm/dbell.h
index 9f2ae0d25e15..998c42ff1caa 100644
--- a/arch/powerpc/include/asm/dbell.h
+++ b/arch/powerpc/include/asm/dbell.h
@@ -16,7 +16,6 @@
#include <linux/threads.h>
#include <asm/ppc-opcode.h>
-#include <asm/cpu_has_feature.h>
#define PPC_DBELL_MSG_BRDCAST (0x04000000)
#define PPC_DBELL_TYPE(x) (((x) & 0xf) << (63-36))
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index b44ec104a5a1..63b4e4485b00 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -22,7 +22,6 @@
#include <linux/security.h>
#include <linux/memblock.h>
-#include <asm/cpu_has_feature.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/mmu.h>
--
2.13.3
next prev parent reply other threads:[~2018-06-01 15:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 15:49 [RFC PATCH v2 00/14] Remove unneccessary included headers Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 01/14] powerpc: remove kdump.h from page.h Christophe Leroy
2018-06-01 15:49 ` Christophe Leroy [this message]
2018-06-01 15:49 ` [RFC PATCH v2 03/14] powerpc/405: move PPC405_ERR77 in asm-405.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 04/14] powerpc: move ASM_CONST and stringify_in_c() into asm-const.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 05/14] powerpc: clean the inclusion of stringify.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 06/14] powerpc: clean inclusions of asm/feature-fixups.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 07/14] powerpc: remove superflous inclusions of asm/fixmap.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 08/14] powerpc: declare set_breakpoint() static Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 09/14] powerpc/book3s: Remove PPC_PIN_SIZE Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 10/14] powerpc: fix includes in asm/processor.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 11/14] powerpc/nohash: fix hash related comments in pgtable.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 12/14] powerpc/44x: remove page.h from mmu-44x.h Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 13/14] powerpc: split reg.h in two parts Christophe Leroy
2018-06-01 15:49 ` [RFC PATCH v2 14/14] powerpc: Split synch.h " Christophe Leroy
2018-06-04 12:52 ` [RFC PATCH v2 00/14] Remove unneccessary included headers Michael Ellerman
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=98274e41dd699bcdc3f82f6bd5d1f4016a2a0812.1527868006.git.christophe.leroy@c-s.fr \
--to=christophe.leroy@c-s.fr \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.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).