lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig
authorLaura Abbott <lauraa@codeaurora.org>
Fri, 8 Aug 2014 21:23:25 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:26 +0000 (15:57 -0700)
commit308c09f17da4adc53935115dbeb5bce4f067d8f9
tree1f1387d4db16df4ea416d640fd28269ea92a5827
parent2f137d66fb65ef41df6e558f23d481f07394a424
lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig

Rather than have architectures #define ARCH_HAS_SG_CHAIN in an
architecture specific scatterlist.h, make it a proper Kconfig option and
use that instead.  At same time, remove the header files are are now
mostly useless and just include asm-generic/scatterlist.h.

[sfr@canb.auug.org.au: powerpc files now need asm/dma.h]
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de> [x86]
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [powerpc]
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
28 files changed:
arch/arm/Kconfig
arch/arm/include/asm/Kbuild
arch/arm/include/asm/scatterlist.h [deleted file]
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/ia64/include/asm/Kbuild
arch/ia64/include/asm/scatterlist.h [deleted file]
arch/powerpc/Kconfig
arch/powerpc/include/asm/Kbuild
arch/powerpc/include/asm/scatterlist.h [deleted file]
arch/powerpc/mm/dma-noncoherent.c
arch/powerpc/platforms/44x/warp.c
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/amigaone/setup.c
arch/s390/Kconfig
arch/s390/include/asm/Kbuild
arch/s390/include/asm/scatterlist.h [deleted file]
arch/sparc/Kconfig
arch/sparc/include/asm/Kbuild
arch/sparc/include/asm/scatterlist.h [deleted file]
arch/um/include/asm/Kbuild
arch/x86/Kconfig
arch/x86/include/asm/Kbuild
arch/x86/include/asm/scatterlist.h [deleted file]
include/linux/scatterlist.h
include/scsi/scsi.h
lib/Kconfig
lib/scatterlist.c