Re: [PATCH] remove <asm/scatterlist.h>
From: Geert Uytterhoeven
Date: Tue May 05 2015 - 16:34:28 EST
On Fri, May 1, 2015 at 12:46 PM, Christoph Hellwig <hch@xxxxxx> wrote:
> We don't have any arch specific scatterlist now that parisc switched over
> to the generic one.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> arch/alpha/include/asm/pci.h | 2 +-
> arch/arm/include/asm/dma.h | 2 +-
> arch/arm/mach-footbridge/dma.c | 2 +-
> arch/blackfin/include/asm/pci.h | 2 +-
> arch/cris/include/asm/dma-mapping.h | 2 +-
> arch/cris/include/asm/pci.h | 2 +-
> arch/frv/include/asm/dma-mapping.h | 2 +-
> arch/frv/include/asm/pci.h | 2 +-
> arch/ia64/include/asm/pci.h | 2 +-
> arch/microblaze/include/asm/pci.h | 2 +-
> arch/mips/include/asm/dma-mapping.h | 2 +-
> arch/mips/include/asm/pci.h | 2 +-
> arch/mn10300/include/asm/pci.h | 2 +-
> arch/parisc/include/asm/dma-mapping.h | 2 +-
> arch/parisc/include/asm/pci.h | 2 +-
> arch/powerpc/include/asm/pci.h | 2 +-
> arch/powerpc/include/asm/vio.h | 2 +-
> arch/sparc/kernel/iommu_common.h | 2 +-
> arch/x86/include/asm/pci.h | 2 +-
> arch/xtensa/include/asm/pci.h | 2 +-
> drivers/mmc/host/android-goldfish.c | 2 +-
> include/asm-generic/scatterlist.h | 34 ------------------------------
> include/linux/blkdev.h | 3 +--
> include/linux/dmapool.h | 2 +-
> include/linux/scatterlist.h | 39 ++++++++++++++++++++++++++++-------
> lib/swiotlb.c | 2 +-
> 26 files changed, 56 insertions(+), 66 deletions(-)
> delete mode 100644 include/asm-generic/scatterlist.h
If you remove include/asm-generic/scatterlist.h, you have to update the
various Kbuild files referring to it:
$ git grep scatterlist.h -- "*Kbuild*"
arch/alpha/include/asm/Kbuild:generic-y += scatterlist.h
arch/arc/include/asm/Kbuild:generic-y += scatterlist.h
arch/arm/include/asm/Kbuild:generic-y += scatterlist.h
arch/arm64/include/asm/Kbuild:generic-y += scatterlist.h
arch/avr32/include/asm/Kbuild:generic-y += scatterlist.h
arch/blackfin/include/asm/Kbuild:generic-y += scatterlist.h
arch/c6x/include/asm/Kbuild:generic-y += scatterlist.h
arch/cris/include/asm/Kbuild:generic-y += scatterlist.h
arch/frv/include/asm/Kbuild:generic-y += scatterlist.h
arch/hexagon/include/asm/Kbuild:generic-y += scatterlist.h
arch/ia64/include/asm/Kbuild:generic-y += scatterlist.h
arch/m32r/include/asm/Kbuild:generic-y += scatterlist.h
arch/m68k/include/asm/Kbuild:generic-y += scatterlist.h
arch/metag/include/asm/Kbuild:generic-y += scatterlist.h
arch/microblaze/include/asm/Kbuild:generic-y += scatterlist.h
arch/mips/include/asm/Kbuild:generic-y += scatterlist.h
arch/mn10300/include/asm/Kbuild:generic-y += scatterlist.h
arch/nios2/include/asm/Kbuild:generic-y += scatterlist.h
arch/openrisc/include/asm/Kbuild:generic-y += scatterlist.h
arch/powerpc/include/asm/Kbuild:generic-y += scatterlist.h
arch/s390/include/asm/Kbuild:generic-y += scatterlist.h
arch/score/include/asm/Kbuild:generic-y += scatterlist.h
arch/sh/include/asm/Kbuild:generic-y += scatterlist.h
arch/sparc/include/asm/Kbuild:generic-y += scatterlist.h
arch/tile/include/asm/Kbuild:generic-y += scatterlist.h
arch/um/include/asm/Kbuild:generic-y += scatterlist.h
arch/unicore32/include/asm/Kbuild:generic-y += scatterlist.h
arch/x86/include/asm/Kbuild:generic-y += scatterlist.h
arch/xtensa/include/asm/Kbuild:generic-y += scatterlist.h
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/