3657190355
If DMA (PCI over virtio) is enabled, then some drivers may
enable CONFIG_DMA_OPS as well, and then we pull in the x86
definition of get_arch_dma_ops(), which uses the dma_ops
symbol, which isn't defined.
Since we don't have real DMA ops nor any kind of IOMMU fix
this in the simplest possible way: pull in the asm-generic
file instead of inheriting the x86 one. It's not clear why
those drivers that do (e.g. VDPA) "select DMA_OPS", and if
they'd even work with this, but chances are nobody will be
wanting to do that anyway, so fixing the build failure is
good enough.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 68f5d3f3b6
("um: add PCI over virtio emulation driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Cc: stable@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
31 lines
722 B
Makefile
31 lines
722 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
generic-y += bpf_perf_event.h
|
|
generic-y += bug.h
|
|
generic-y += compat.h
|
|
generic-y += current.h
|
|
generic-y += device.h
|
|
generic-y += dma-mapping.h
|
|
generic-y += emergency-restart.h
|
|
generic-y += exec.h
|
|
generic-y += extable.h
|
|
generic-y += fb.h
|
|
generic-y += ftrace.h
|
|
generic-y += hw_irq.h
|
|
generic-y += irq_regs.h
|
|
generic-y += irq_work.h
|
|
generic-y += kdebug.h
|
|
generic-y += mcs_spinlock.h
|
|
generic-y += mmiowb.h
|
|
generic-y += module.lds.h
|
|
generic-y += param.h
|
|
generic-y += parport.h
|
|
generic-y += percpu.h
|
|
generic-y += preempt.h
|
|
generic-y += softirq_stack.h
|
|
generic-y += switch_to.h
|
|
generic-y += topology.h
|
|
generic-y += trace_clock.h
|
|
generic-y += kprobes.h
|
|
generic-y += mm_hooks.h
|
|
generic-y += vga.h
|