patch-2.4.23 linux-2.4.23/arch/sparc64/kernel/pci_iommu.c
Next file: linux-2.4.23/arch/sparc64/kernel/pci_psycho.c
Previous file: linux-2.4.23/arch/sparc64/kernel/pci_common.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/sparc64/kernel/pci_iommu.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.22/arch/sparc64/kernel/pci_iommu.c linux-2.4.23/arch/sparc64/kernel/pci_iommu.c
@@ -829,5 +829,8 @@
}
}
+ if (device_mask >= (1UL << 32UL))
+ return 0;
+
return (device_mask & dma_addr_mask) == dma_addr_mask;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)