Fix linkage problem on PA-RISC, no functional change on x86.
Signed-off-by: Helge Deller deller@gmx.de --- src/hw/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hw/ata.c b/src/hw/ata.c index fb3b581..af44541 100644 --- a/src/hw/ata.c +++ b/src/hw/ata.c @@ -358,9 +358,9 @@ struct sff_dma_prd { static int ata_try_dma(struct disk_op_s *op, int iswrite, int blocksize) { - ASSERT16(); if (! CONFIG_ATA_DMA) return -1; + ASSERT16(); // behind ATA_DMA, needed on parisc to boot via ata u32 dest = (u32)op->buf_fl; if (dest & 1) // Need minimum alignment of 1. -- 2.29.2