Re: [PATCH v4 2/3] PCI: Move isa_dma_bridge_buggy out of dma.h

From: Geert Uytterhoeven
Date: Wed Jul 20 2022 - 13:40:37 EST


On Wed, Jul 20, 2022 at 3:20 PM Stafford Horne <shorne@xxxxxxxxx> wrote:
> During recent PCI cleanups we noticed that the isa_dma_bridge_buggy
> symbol supported by all architectures is actually only used for x86_32.
>
> This patch moves the symbol out of all architectures limiting usage to
> only x86_32. This is possible because only x86_32 platforms or quirks
> existing in PCI devices supported on x86_32 ever set this. A new global
> header linux/isa-dma.h is added to provide a common place to maintain
> the definition.
>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> Signed-off-by: Stafford Horne <shorne@xxxxxxxxx>
> ---
> Since v3:
> - New patch.

> arch/m68k/include/asm/dma.h | 6 ------

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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