diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2014-08-08 17:23:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:26 -0400 |
commit | 308c09f17da4adc53935115dbeb5bce4f067d8f9 (patch) | |
tree | 1f1387d4db16df4ea416d640fd28269ea92a5827 /arch/s390 | |
parent | 2f137d66fb65ef41df6e558f23d481f07394a424 (diff) |
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>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/Kconfig | 1 | ||||
-rw-r--r-- | arch/s390/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/s390/include/asm/scatterlist.h | 3 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 8ca60f8d5683..05c78bb5f570 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -145,6 +145,7 @@ config S390 | |||
145 | select TTY | 145 | select TTY |
146 | select VIRT_CPU_ACCOUNTING | 146 | select VIRT_CPU_ACCOUNTING |
147 | select VIRT_TO_BUS | 147 | select VIRT_TO_BUS |
148 | select ARCH_HAS_SG_CHAIN | ||
148 | 149 | ||
149 | config SCHED_OMIT_FRAME_POINTER | 150 | config SCHED_OMIT_FRAME_POINTER |
150 | def_bool y | 151 | def_bool y |
diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild index 57892a8a9055..b3fea0722ff1 100644 --- a/arch/s390/include/asm/Kbuild +++ b/arch/s390/include/asm/Kbuild | |||
@@ -4,4 +4,5 @@ generic-y += clkdev.h | |||
4 | generic-y += hash.h | 4 | generic-y += hash.h |
5 | generic-y += mcs_spinlock.h | 5 | generic-y += mcs_spinlock.h |
6 | generic-y += preempt.h | 6 | generic-y += preempt.h |
7 | generic-y += scatterlist.h | ||
7 | generic-y += trace_clock.h | 8 | generic-y += trace_clock.h |
diff --git a/arch/s390/include/asm/scatterlist.h b/arch/s390/include/asm/scatterlist.h deleted file mode 100644 index 6d45ef6c12a7..000000000000 --- a/arch/s390/include/asm/scatterlist.h +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #include <asm-generic/scatterlist.h> | ||
2 | |||
3 | #define ARCH_HAS_SG_CHAIN | ||