Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1590710 > unrolled thread
| Started by | Laura Abbott <labbott@redhat.com> |
|---|---|
| First post | 2017-03-02 01:20 +0100 |
| Last post | 2017-03-02 16:30 +0100 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h Laura Abbott <labbott@redhat.com> - 2017-03-02 01:20 +0100
Re: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-03-02 13:20 +0100
Re: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h Catalin Marinas <catalin.marinas@arm.com> - 2017-03-02 16:10 +0100
Re: [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h Mark Rutland <mark.rutland@arm.com> - 2017-03-02 16:30 +0100
| From | Laura Abbott <labbott@redhat.com> |
|---|---|
| Date | 2017-03-02 01:20 +0100 |
| Subject | [PATCHv2 14/14] treewide: Decouple cacheflush.h and set_memory.h |
| Message-ID | <tgmDn-2sk-5@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Russell King - ARM Linux <linux@armlinux.org.uk> |
|---|---|
| Date | 2017-03-02 13:20 +0100 |
| Message-ID | <tgxS9-29S-7@gated-at.bofh.it> |
| In reply to | #1590710 |
On Wed, Mar 01, 2017 at 04:15:06PM -0800, Laura Abbott wrote: > 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) > Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Thanks. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
[toc] | [prev] | [next] | [standalone]
| From | Catalin Marinas <catalin.marinas@arm.com> |
|---|---|
| Date | 2017-03-02 16:10 +0100 |
| Message-ID | <tgAwF-3Yt-7@gated-at.bofh.it> |
| In reply to | #1590710 |
On Wed, Mar 01, 2017 at 04:15:06PM -0800, Laura Abbott wrote: > Now that all call sites, completely decouple cacheflush.h and > set_memory.h > > Signed-off-by: Laura Abbott <labbott@redhat.com> For arm64: Acked-by: Catalin Marinas <catalin.marinas@arm.com>
[toc] | [prev] | [next] | [standalone]
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Date | 2017-03-02 16:30 +0100 |
| Message-ID | <tgAQ1-4iq-13@gated-at.bofh.it> |
| In reply to | #1590710 |
On Wed, Mar 01, 2017 at 04:15:06PM -0800, Laura Abbott wrote: > > 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> Acked-by: Mark Rutland <mark.rutland@arm.com> Thanks, Mark.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web