diff -Naurp ./arch/ia64/lib/swiotlb.c~swiotlb_types ./arch/ia64/lib/swiotlb.c --- ./arch/ia64/lib/swiotlb.c~swiotlb_types 2005-01-10 10:38:39.310529184 -0800 +++ ./arch/ia64/lib/swiotlb.c 2005-01-14 11:53:17.991480232 -0800 @@ -347,8 +347,8 @@ swiotlb_alloc_coherent(struct device *hw /* Confirm address can be DMA'd by device */ if (address_needs_mapping(hwdev, dev_addr)) { - printk("hwdev DMA mask = 0x%016lx, dev_addr = 0x%016lx\n", - *hwdev->dma_mask, dev_addr); + printk("hwdev DMA mask = 0x%016Lx, dev_addr = 0x%016lx\n", + (unsigned long long)*hwdev->dma_mask, dev_addr); panic("swiotlb_alloc_coherent: allocated memory is out of " "range for device"); }