From: labbott@redhat.com (Laura Abbott)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h
Date: Wed, 1 Mar 2017 16:15:06 -0800 [thread overview]
Message-ID: <1488413706-9739-15-git-send-email-labbott@redhat.com> (raw)
In-Reply-To: <1488413706-9739-1-git-send-email-labbott@redhat.com>
Now that all call sites, completely decouple cacheflush.h and
set_memory.h
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
arch/arm/include/asm/cacheflush.h | 1 -
arch/arm64/include/asm/cacheflush.h | 1 -
arch/s390/include/asm/Kbuild | 1 +
arch/s390/include/asm/cacheflush.h | 8 --------
arch/x86/include/asm/cacheflush.h | 1 -
5 files changed, 1 insertion(+), 11 deletions(-)
delete mode 100644 arch/s390/include/asm/cacheflush.h
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 1cb9d11..d69bebf 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -16,7 +16,6 @@
#include <asm/shmparam.h>
#include <asm/cachetype.h>
#include <asm/outercache.h>
-#include <asm/set_memory.h>
#define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)
diff --git a/arch/arm64/include/asm/cacheflush.h b/arch/arm64/include/asm/cacheflush.h
index 7db6962..5812469 100644
--- a/arch/arm64/include/asm/cacheflush.h
+++ b/arch/arm64/include/asm/cacheflush.h
@@ -20,7 +20,6 @@
#define __ASM_CACHEFLUSH_H
#include <linux/mm.h>
-#include <asm/set_memory.h>
/*
* This flag is used to indicate that the page pointed to by a pte is clean
diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild
index 8aea32f..c0a7057 100644
--- a/arch/s390/include/asm/Kbuild
+++ b/arch/s390/include/asm/Kbuild
@@ -1,4 +1,5 @@
generic-y += asm-offsets.h
+generic-y += cacheflush.h
generic-y += clkdev.h
generic-y += dma-contiguous.h
generic-y += export.h
diff --git a/arch/s390/include/asm/cacheflush.h b/arch/s390/include/asm/cacheflush.h
deleted file mode 100644
index afe2965..0000000
--- a/arch/s390/include/asm/cacheflush.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef _S390_CACHEFLUSH_H
-#define _S390_CACHEFLUSH_H
-
-/* Caches aren't brain-dead on the s390. */
-#include <asm-generic/cacheflush.h>
-#include <asm/set_memory.h>
-
-#endif /* _S390_CACHEFLUSH_H */
diff --git a/arch/x86/include/asm/cacheflush.h b/arch/x86/include/asm/cacheflush.h
index 3d7db6f..8b4140f 100644
--- a/arch/x86/include/asm/cacheflush.h
+++ b/arch/x86/include/asm/cacheflush.h
@@ -4,7 +4,6 @@
/* Caches aren't brain-dead on the intel. */
#include <asm-generic/cacheflush.h>
#include <asm/special_insns.h>
-#include <asm/set_memory.h>
void clflush_cache_range(void *addr, unsigned int size);
--
2.7.4
next prev parent reply other threads:[~2017-03-02 0:15 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 0:14 [PATCHv2 00/14] set_memory_* functions header refactor Laura Abbott
2017-03-02 0:14 ` [PATCHv2 01/14] treewide: Move set_memory_* functions away from cacheflush.h Laura Abbott
2017-03-02 12:07 ` Russell King - ARM Linux
2017-03-02 14:11 ` Mark Rutland
2017-03-02 0:14 ` [PATCHv2 02/14] arm: Use set_memory.h header Laura Abbott
2017-03-02 12:01 ` Russell King - ARM Linux
2017-03-02 0:14 ` [PATCHv2 03/14] arm64: " Laura Abbott
2017-03-02 14:07 ` Mark Rutland
2017-03-02 15:06 ` Catalin Marinas
2017-03-02 0:14 ` [PATCHv2 04/14] s390: " Laura Abbott
2017-03-02 0:14 ` [PATCHv2 05/14] x86: " Laura Abbott
2017-03-02 8:01 ` Ingo Molnar
2017-03-02 0:14 ` [PATCHv2 06/14] agp: " Laura Abbott
2017-03-02 0:14 ` [PATCHv2 07/14] drm: " Laura Abbott
2017-03-05 1:08 ` kbuild test robot
2017-03-02 0:15 ` [PATCHv2 08/14] intel_th: " Laura Abbott
2017-03-02 11:06 ` Alexander Shishkin
2017-03-02 0:15 ` [PATCHv2 09/14] watchdog: hpwdt: " Laura Abbott
2017-03-02 14:48 ` Guenter Roeck
2017-03-02 0:15 ` [PATCHv2 10/14] bpf: " Laura Abbott
2017-03-02 20:26 ` Daniel Borkmann
2017-03-05 3:01 ` kbuild test robot
2017-03-02 0:15 ` [PATCHv2 11/14] module: " Laura Abbott
2017-03-02 17:09 ` Jessica Yu
2017-03-02 0:15 ` [PATCHv2 12/14] PM / hibernate: " Laura Abbott
2017-03-02 0:15 ` [PATCHv2 13/14] ALSA: hda: " Laura Abbott
2017-03-02 0:15 ` Laura Abbott [this message]
2017-03-02 12:06 ` [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h Russell King - ARM Linux
2017-03-02 14:12 ` Mark Rutland
2017-03-02 15:05 ` Catalin Marinas
2017-03-04 22:57 ` kbuild test robot
2017-03-05 0:03 ` kbuild test robot
2017-03-02 7:34 ` [PATCHv2 00/14] set_memory_* functions header refactor Heiko Carstens
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=1488413706-9739-15-git-send-email-labbott@redhat.com \
--to=labbott@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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).