forked from luck/tmp_suning_uos_patched
452e06af1f
Almost everyone implements dma_set_mask the same way, although some time that's hidden in ->set_dma_mask methods. This patch consolidates those into a common implementation that either calls ->set_dma_mask if present or otherwise uses the default implementation. Some architectures used to only call ->set_dma_mask after the initial checks, and those instance have been fixed to do the full work. h8300 implemented dma_set_mask bogusly as a no-ops and has been fixed. Unfortunately some architectures overload unrelated semantics like changing the dma_ops into it so we still need to allow for an architecture override for now. [jcmvbkbc@gmail.com: fix xtensa] Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Michal Simek <monstr@monstr.eu> Cc: Jonas Bonn <jonas@southpole.se> Cc: Chris Metcalf <cmetcalf@ezchip.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
airq.h | ||
appldata.h | ||
asm-offsets.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bug.h | ||
bugs.h | ||
cache.h | ||
cacheflush.h | ||
ccwdev.h | ||
ccwgroup.h | ||
checksum.h | ||
chpid.h | ||
cio.h | ||
clp.h | ||
cmb.h | ||
cmpxchg.h | ||
compat.h | ||
cpcmd.h | ||
cpu_mf.h | ||
cpu.h | ||
cpufeature.h | ||
cputime.h | ||
crw.h | ||
css_chars.h | ||
ctl_reg.h | ||
current.h | ||
debug.h | ||
delay.h | ||
device.h | ||
diag.h | ||
dis.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
eadm.h | ||
ebcdic.h | ||
elf.h | ||
emergency-restart.h | ||
etr.h | ||
exec.h | ||
extmem.h | ||
facility.h | ||
fb.h | ||
fcx.h | ||
fpu-internal.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hugetlb.h | ||
hw_irq.h | ||
idals.h | ||
idle.h | ||
io.h | ||
ipl.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
isc.h | ||
itcw.h | ||
jump_label.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kmap_types.h | ||
kprobes.h | ||
kvm_host.h | ||
kvm_para.h | ||
linkage.h | ||
livepatch.h | ||
local64.h | ||
local.h | ||
lowcore.h | ||
mathemu.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
mutex.h | ||
nmi.h | ||
numa.h | ||
os_info.h | ||
page.h | ||
pci_clp.h | ||
pci_debug.h | ||
pci_dma.h | ||
pci_insn.h | ||
pci_io.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
qdio.h | ||
reset.h | ||
runtime_instr.h | ||
rwsem.h | ||
schid.h | ||
sclp.h | ||
scsw.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
sfp-machine.h | ||
sfp-util.h | ||
shmparam.h | ||
signal.h | ||
sigp.h | ||
smp.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
sysinfo.h | ||
termios.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
unaligned.h | ||
unistd.h | ||
uprobes.h | ||
user.h | ||
vdso.h | ||
vga.h | ||
vtime.h | ||
vtimer.h | ||
vx-insn.h | ||
xor.h |