Skip to contentSkip to conversation

crypto/async_tx/* doesn't build on s390

DISCUSSION Heiko Carstens 2 participants 2 messages Jan 31, 2008

lore
Share & tools
lore
#0 lore raw

I get the following:

crypto/built-in.o: In function `do_async_xor':
async_xor.c:49: undefined reference to dma_map_page' async_xor.c:56: undefined reference to dma_map_page'

This is mainly because s390 doesn't support DMA at all, but these files get selected via MD_RAID456 anyway.

Any idea how to fix this?

#1 lore raw
Quoted 8 lines · Heiko Carstens

I get the following:

crypto/built-in.o: In function `do_async_xor':
async_xor.c:49: undefined reference to dma_map_page' async_xor.c:56: undefined reference to dma_map_page'

This is mainly because s390 doesn't support DMA at all, but these files get selected via MD_RAID456 anyway.

deja-vu: http://marc.info/?l=linux-kernel&m=118056140212764&w=2

and indeed, async_memcpy.c doesn't seem to suffer from this affliction. async_xor.c needs a similar treatment; maybe async_memset.c as well (didn't check).

(No, I didn't actually look at the code :))