--- include/linux/i2o.h 2006-09-22 12:07:29.286557446 +0200 +++ include/linux/i2o.h 2006-09-22 12:08:01.904303452 +0200 @@ -776,6 +776,8 @@ #ifdef CONFIG_I2O_EXT_ADAPTEC_DMA64 if ((sizeof(dma_addr_t) > 4) && c->pae_support) *mptr++ = cpu_to_le32(i2o_dma_high(dma_addr)); +#else + BUG_ON((u32) ((u64) dma_addr >> 32)); #endif *sg_ptr = mptr; } @@ -835,6 +837,8 @@ #ifdef CONFIG_I2O_EXT_ADAPTEC_DMA64 if ((sizeof(dma_addr_t) > 4) && c->pae_support) *mptr++ = cpu_to_le32(i2o_dma_high(sg_dma_address(sg))); +#else + BUG_ON((u32) ((u64) sg_dma_address(sg) >> 32)); #endif sg++; }