Revision 8f6aff9858c45525345b92b2a88c2af776c64340 authored by Lada Trimasova on 27 January 2016, 11:10:32 UTC, committed by Joerg Roedel on 29 January 2016, 11:14:08 UTC
Trying to build a kernel for ARC with both options CONFIG_COMPILE_TEST and CONFIG_IOMMU_IO_PGTABLE_LPAE enabled (e.g. as a result of "make allyesconfig") results in the following build failure: | CC drivers/iommu/io-pgtable-arm.o | linux/drivers/iommu/io-pgtable-arm.c: In | function ‘__arm_lpae_alloc_pages’: | linux/drivers/iommu/io-pgtable-arm.c:221:3: | error: implicit declaration of function ‘dma_map_single’ | [-Werror=implicit-function-declaration] | dma = dma_map_single(dev, pages, size, DMA_TO_DEVICE); | ^ | linux/drivers/iommu/io-pgtable-arm.c:221:42: | error: ‘DMA_TO_DEVICE’ undeclared (first use in this function) | dma = dma_map_single(dev, pages, size, DMA_TO_DEVICE); | ^ Since IOMMU_IO_PGTABLE_LPAE depends on DMA API, io-pgtable-arm.c should include linux/dma-mapping.h. This fixes the reported failure. Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Joerg Roedel <joro@8bytes.org> Signed-off-by: Lada Trimasova <ltrimas@synopsys.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 92e963f
File | Mode | Size |
---|---|---|
bnep | ||
cmtp | ||
hidp | ||
rfcomm | ||
6lowpan.c | -rw-r--r-- | 30.3 KB |
Kconfig | -rw-r--r-- | 3.1 KB |
Makefile | -rw-r--r-- | 679 bytes |
a2mp.c | -rw-r--r-- | 21.9 KB |
a2mp.h | -rw-r--r-- | 3.6 KB |
af_bluetooth.c | -rw-r--r-- | 16.6 KB |
amp.c | -rw-r--r-- | 14.3 KB |
amp.h | -rw-r--r-- | 2.3 KB |
ecc.c | -rw-r--r-- | 19.8 KB |
ecc.h | -rw-r--r-- | 2.3 KB |
hci_conn.c | -rw-r--r-- | 39.3 KB |
hci_core.c | -rw-r--r-- | 98.5 KB |
hci_debugfs.c | -rw-r--r-- | 28.0 KB |
hci_debugfs.h | -rw-r--r-- | 1.6 KB |
hci_event.c | -rw-r--r-- | 128.8 KB |
hci_request.c | -rw-r--r-- | 56.6 KB |
hci_request.h | -rw-r--r-- | 4.1 KB |
hci_sock.c | -rw-r--r-- | 35.3 KB |
hci_sysfs.c | -rw-r--r-- | 4.3 KB |
l2cap_core.c | -rw-r--r-- | 178.0 KB |
l2cap_sock.c | -rw-r--r-- | 36.3 KB |
lib.c | -rw-r--r-- | 3.3 KB |
mgmt.c | -rw-r--r-- | 180.7 KB |
mgmt_util.c | -rw-r--r-- | 4.8 KB |
mgmt_util.h | -rw-r--r-- | 2.2 KB |
sco.c | -rw-r--r-- | 24.6 KB |
selftest.c | -rw-r--r-- | 7.9 KB |
selftest.h | -rw-r--r-- | 1.6 KB |
smp.c | -rw-r--r-- | 91.9 KB |
smp.h | -rw-r--r-- | 4.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...