]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'linus' into x86/gart
authorIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 16:15:17 +0000 (18:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 16:15:17 +0000 (18:15 +0200)
arch/x86/kernel/pci-gart_64.c

index 49285f8fd4d54005d5efb9a9fad6bc498420e6d6..cdab6784907476d6d014f668538e52e954edc8c9 100644 (file)
@@ -90,7 +90,7 @@ static unsigned long alloc_iommu(struct device *dev, int size)
 
        base_index = ALIGN(iommu_bus_base & dma_get_seg_boundary(dev),
                           PAGE_SIZE) >> PAGE_SHIFT;
-       boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1,
+       boundary_size = ALIGN((unsigned long long)dma_get_seg_boundary(dev) + 1,
                              PAGE_SIZE) >> PAGE_SHIFT;
 
        spin_lock_irqsave(&iommu_bitmap_lock, flags);