linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] m68k: dma: remove unnecessary include of asm/cacheflush.h
@ 2021-05-10  3:08 Wan Jiabing
  2021-05-10  7:06 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-05-10  3:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Pekka Enberg, Wan Jiabing, Mike Rapoport,
	Andrew Morton, linux-m68k, linux-kernel
  Cc: kael_w

In commit ca15ca406f660 ("mm: remove unneeded includes of
<asm/pgalloc.h>"), asm/cacheflush.h independent on the MACRO
was included at line 18. The include here is unnecessary. Remove it.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 arch/m68k/kernel/dma.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c
index 1c1b875fadc1..2e192a5df949 100644
--- a/arch/m68k/kernel/dma.c
+++ b/arch/m68k/kernel/dma.c
@@ -34,9 +34,6 @@ pgprot_t pgprot_dmacoherent(pgprot_t prot)
 	return prot;
 }
 #else
-
-#include <asm/cacheflush.h>
-
 void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle,
 		gfp_t gfp, unsigned long attrs)
 {
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] m68k: dma: remove unnecessary include of asm/cacheflush.h
  2021-05-10  3:08 [PATCH] m68k: dma: remove unnecessary include of asm/cacheflush.h Wan Jiabing
@ 2021-05-10  7:06 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-05-10  7:06 UTC (permalink / raw)
  To: wanjiabing
  Cc: Pekka Enberg, Mike Rapoport, Andrew Morton, linux-m68k,
	Linux Kernel Mailing List, kael_w

On Mon, May 10, 2021 at 5:08 AM Wan Jiabing <wanjiabing@vivo.com> wrote:
> In commit ca15ca406f660 ("mm: remove unneeded includes of
> <asm/pgalloc.h>"), asm/cacheflush.h independent on the MACRO
> was included at line 18. The include here is unnecessary. Remove it.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
i.e. will queue in the m68k for-v5.14 branch.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-10  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  3:08 [PATCH] m68k: dma: remove unnecessary include of asm/cacheflush.h Wan Jiabing
2021-05-10  7:06 ` Geert Uytterhoeven

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).